ByteArraySerializer

fun ByteArraySerializer(): KSerializer<ByteArray>

Returns serializer for ByteArray with descriptor of StructureKind.LIST kind. Each element of the array is serialized one by one with Byte.Companion.serializer.