writeToStream

open fun writeToStream(stream: OutputStream)

Writes this MessageObject instance to the given stream.

Parameters

stream

The stream to write to.

Throws

IO exception during writing to the stream