sok / Sok.Buffer / JSMultiplatformBuffer / putShortImpl
fun putShortImpl(value: Short, index: Int?): Unit (source)
Platform and version requirements: JS
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