DataWrapper.setStream

void setStream(gmime.stream.Stream stream)

Replaces 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.

Note

caller is responsible for its own reference on

stream.

Parameters

streama #GMimeStream