encodeByteElement

override fun encodeByteElement(descriptor: SerialDescriptor, index: Int, value: Byte)(source)

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.