encodeBytes

expect open override fun encodeBytes(data: ByteArray): ByteArray

Encode the provided data using the encoding implemented by this encoder; return a ByteArray representation of the result.

Return

Raw encoded output data.

Parameters

data

Data to encode with this encoder.