toByteArray

open fun toByteArray(format: SerializationType = SerializationType.UNKNOWN): ByteArray