gmime.stream_mmap

Module for [StreamMmap] class

Types 3

A memory-mapped #GMimeStream.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
StreamMmap self() nothrowReturns `this`, for use in `with` statements.
StreamMmapGidBuilder builder() static nothrowGet builder for [gmime.stream_mmap.StreamMmap] Returns: New builder object
gmime.stream_mmap.StreamMmap newWithBounds(int fd, int prot, int flags, long start, long end) static nothrowCreates a new #GMimeStreamMmap object around fd with bounds start and end.
bool getOwner() nothrowGets whether or not stream owns the backend file descriptor. Returns: true if stream owns the backend file descriptor or false otherwise.
void setOwner(bool owner) nothrowSets whether or not stream owns the backend file descriptor.
Constructors
this(void * ptr, Flag!"Take" take)
this(int fd, int prot, int flags)Creates a new #GMimeStreamMmap object around fd.

Fluent builder for gmime.stream_mmap.StreamMmap

Methods
StreamMmap build() nothrowCreate object from builder. Returns: New object