SokDoc

sok / Sok.Buffer / JVMMultiplatformBuffer / putShortImpl

putShortImpl

fun putShortImpl(value: Short, index: Int?): Unit (source)

Platform and version requirements: JVM

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