ByteArrayAsHexSerializer

object ByteArrayAsHexSerializer : KSerializer<ByteArray>

Serializer for ByteArray that converts to/from hex string. This matches the Dart-side expectation from the KSP-generated code which uses hex encoding for ByteArray fields.

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): ByteArray
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: ByteArray)