MappedFile.getBytes

Creates a new glib.Bytes which references the data mapped from file. The mapped contents of the file must not be modified after creating this bytes object, because a glib.Bytes should be immutable.

class MappedFile
getBytes
()

Return Value

Type: Bytes

A newly allocated glib.Bytes referencing data from file

Meta

Since

2.34