serialize

abstract fun serialize(definedStructure: Any, outputStream: OutputStream)

Serializes the NMS handle of DefinedStructure to an OutputStream. This call is blocking.

Parameters

definedStructure

NMS handle.

outputStream

Opened outputStream. Does not close the stream after processing.