Maps a file into memory. On UNIX, this is using the mmap() function.
Creates a new #GBytes which references the data mapped from file. The mapped contents of the file must not be modified after creating this bytes object, because a #GBytes should be immutable.
Returns the contents of a #GMappedFile.
Returns the length of the contents of a #GMappedFile.
Maps a file into memory. On UNIX, this is using the mmap() function.
Pointer to the C boxed value
Get the GType of this boxed type.
Boxed GType property.
Convenience method to return this cast to a type. For use in D with statements.
Make a copy of the wrapped C boxed data.
Copy a C boxed value using g_boxed_copy.
Free a C boxed value using g_boxed_free.
The #GMappedFile represents a file mapping created with glib.mapped_file.MappedFile.new_. It has only private members and should not be accessed directly.