serialize

open override fun serialize(output: OutputStream, data: SerializerData)(source)

Serializes the given data into the provided output stream.

Parameters

output

the OutputStream to write the serialized data to

data

the SerializerData to serialize

Throws

if an I/O error occurs during serialization