SokDoc

sok / Sok.Buffer / MultiplatformBuffer / getShort

getShort

fun getShort(index: Int? = null): Short (source)

Platform and version requirements: Common

Get the short at the current cursor position. If the index parameter is provided, the cursor will be ignored and not modified

Parameters

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

Return short