gmime.filter_gzip

Module for [FilterGZip] class

Types 3

A filter for compresing or decompressing a gzip stream.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
FilterGZip self() nothrowReturns `this`, for use in `with` statements.
FilterGZipGidBuilder builder() static nothrowGet builder for [gmime.filter_gzip.FilterGZip] Returns: New builder object
string getComment() nothrowGets the comment that was either previously set or retrieved when decoding a gzip stream. Returns: a string containing the comment.
string getFilename() nothrowGets the filename that was either previously set or retrieved when decoding a gzip stream. Returns: a string containing th ename of the file.
void setComment(string comment) nothrowSets the comment that should be used when generating the gzip header.
void setFilename(string filename) nothrowSets the filename that should be used when generating the gzip header.
Constructors
this(void * ptr, Flag!"Take" take)
this(gmime.types.FilterGZipMode mode, int level)Creates a new gzip (or gunzip) filter.

Fluent builder for gmime.filter_gzip.FilterGZip

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