gmime.data_wrapper
Module for [DataWrapper] class
Types 3
A wrapper for a stream which may be encoded.
Methods
DataWrapperGidBuilder builder() static nothrowGet builder for [gmime.data_wrapper.DataWrapper] Returns: New builder objectgmime.data_wrapper.DataWrapper newWithStream(gmime.stream.Stream stream, gmime.types.ContentEncoding encoding) static nothrowCreates a new #GMimeDataWrapper object around stream.gmime.types.ContentEncoding getEncoding() nothrowGets the encoding type of the stream wrapped by wrapper. Returns: the encoding type of the internal stream.gmime.stream.Stream getStream() nothrowGets a reference to the stream wrapped by wrapper. Returns: a reference to the internal stream.void setEncoding(gmime.types.ContentEncoding encoding) nothrowSets the encoding type of the internal stream.void setStream(gmime.stream.Stream stream) nothrowReplaces the wrapper's internal stream with stream. Don't forget, if stream is not of the same encoding as the old stream, you'll want to call [gmime.data_wrapper.DataWrapper.setEncoding] as well.ptrdiff_t writeToStream(gmime.stream.Stream stream) nothrowWrites the raw (decoded) data to the output stream.Fluent builder implementation template for gmime.data_wrapper.DataWrapper
Fluent builder for gmime.data_wrapper.DataWrapper
Methods