DataWrapper.newWithStream

Creates a new #GMimeDataWrapper object around stream.

Parameters

streama #GMimeStream
encodingstream's encoding

Returns

a data wrapper around stream. Since the wrapper owns its

own reference on the stream, caller is responsible for unrefing its own copy.