writeTo

abstract suspend fun writeTo(t: T, output: OutputStream)(source)

Marshal object to a stream. Closing the provided OutputStream is a no-op.

Parameters

t

the data to write to output