gmime.filter

Module for [Filter] class

Types 3

Base class for filters used by #GMimeStreamFilter.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Filter self() nothrowReturns `this`, for use in `with` statements.
FilterGidBuilder builder() static nothrowGet builder for [gmime.filter.Filter] Returns: New builder object
void backup(ubyte[] data) nothrowSets number of bytes backed up on the input, new calls replace previous ones
void complete(ubyte[] inbuf, size_t prespace, out ubyte[] outbuf, out size_t outprespace) nothrowCompletes the filtering.
gmime.filter.Filter copy() nothrowCopies filter into a new #GMimeFilter object. Returns: a duplicate of filter.
void filter(ubyte[] inbuf, size_t prespace, out ubyte[] outbuf, out size_t outprespace) nothrowFilters the input data and writes it to out.
void reset() nothrowResets the filter.
void setSize(size_t size, bool keep) nothrowEnsure this much size is available for filter output (if required)
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gmime.filter.Filter

Fluent builder for gmime.filter.Filter

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