SokDoc

sok / Sok.Buffer / MultiplatformBuffer / putShort

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

Parameters

value - short to put in the buffer

index - index of the short, buffer.cursor is used if the index is null