encodeToByteArray

open override fun <T> encodeToByteArray(serializer: SerializationStrategy<T>, value: T): ByteArray(source)