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.

Return: the contents of @file, or %NULL.

class MappedFile
string
getContents
()

Meta