kotlinx-serialization / kotlinx.serialization.builtins / AbstractDecoder / decodeByteElement

decodeByteElement

(common, js, jvm, native) fun decodeByteElement(descriptor: SerialDescriptor, index: Int): Byte

Decodes a single byte value from the underlying input. The resulting value is associated with the descriptor element at the given index. The element at the given index should have PrimitiveKind.BYTE kind.