gmime.stream_file

Module for [StreamFile] class

Types 3

A #GMimeStream wrapper around standard-c FILE pointers.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
StreamFile self() nothrowReturns `this`, for use in `with` statements.
StreamFileGidBuilder builder() static nothrowGet builder for [gmime.stream_file.StreamFile] Returns: New builder object
gmime.stream_file.StreamFile newWithBounds(void * fp, long start, long end) static nothrowCreates a new #GMimeStreamFile object around fp with bounds start and end.
gmime.stream.Stream open(string path, string mode) staticCreates a new #GMimeStreamFile object for the specified path.
bool getOwner() nothrowGets whether or not stream owns the backend FILE pointer. Returns: true if stream owns the backend FILE pointer or false otherwise.
void setOwner(bool owner) nothrowSets whether or not stream owns the backend FILE pointer.
Constructors
this(void * ptr, Flag!"Take" take)
this(void * fp = null)Creates a new #GMimeStreamFile object around fp.

Fluent builder for gmime.stream_file.StreamFile

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