MappedFile.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.

class MappedFile
string
getContents
()

Return Value

Type: string

the contents of file, or null.