MappedFile.getContents

Returns the contents of a glib.MappedFile

Note that the contents may not be zero-terminated, even if the glib.MappedFile 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.

Meta