SokDoc

sok / Sok.Buffer / MultiplatformBuffer / putInt

putInt

fun putInt(value: Int, index: Int? = null): Unit (source)

Platform and version requirements: Common

Put the given integer 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 - int to put in the buffer

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