func (f *File) ReadString() (raw string, err error) {
	if f.f == nil {
		err = ErrNotOpen
		return
	}
	data, err := io.ReadAll(f.f)
	if err != nil {
		return
	}
	raw = string(data)
	return
}
// ReadString reads the entire contents of this file as a string
ReadString reads the entire contents of this file as a string
// ReadString reads the entire contents of this file as a string
func (f *File) ReadString() (raw string, err error) {
	if f.f == nil {
		err = ErrNotOpen
		return
	}
	data, err := io.ReadAll(f.f)
	if err != nil {
		return
	}
	raw = string(data)
	return
}
func ( f * File ) ReadString ( ) ( raw string , err error ) { if f . f == nil { err = ErrNotOpen return } data , err := io . ReadAll ( f . f ) if err != nil { return } raw = string ( data ) return }
ReadString reads the entire contents of this file as a string
ReadString reads the entire contents of this file as a string