sok / Sok.Buffer / JVMMultiplatformBuffer / putByteImpl
fun putByteImpl(value:
Byte
, index:
Int
?):
Unit
(source)
Platform and version requirements: JVM
Put the given byte inside the buffer at the buffer cursor position. If the index parameter is provided, the cursor will be ignored and not modified
value
- byte to put in the buffer
index
- index of the byte, buffer.cursor is used if the index is null