MappedFile.getContents

string getContents()

Returns the contents of a #GMappedFile.

Note that the contents may not be zero-terminated, even if the #GMappedFile is backed by a text file.

If the file is empty then null is returned.

Returns

the contents of file, or null.