kotlinx-serialization / kotlinx.serialization.builtins / AbstractEncoder / encodeByteElement

encodeByteElement

(common, js, jvm, native) fun encodeByteElement(descriptor: SerialDescriptor, index: Int, value: Byte): Unit

Encodes a single byte value associated with an element at the given index in serial descriptor. The element at the given index should have PrimitiveKind.BYTE kind.