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