sok / Sok.Buffer / MultiplatformBuffer / putBytes
fun putBytes(array: ByteArray, index: Int? = null): Unit (source)
Platform and version requirements: Common
Put the given byte array inside the buffer starting at the buffer cursor position. If the index parameter is provided, the cursor will be ignored and not modified
array - data to put in the buffer
index - index of the first byte, buffer.cursor is used if the index is null