std.memory.DataBuffer.PokeShort - nitrologic/monkey2 GitHub Wiki

std::std.memory.std.memory.DataBuffer.PokeShort

Method PokeShort:Void( offset:monkey:monkey.types.Int,value:monkey:monkey.types.Short )

Writes a 16 bit short to the databuffer

In debug builds, a runtime error will occur if offset is outside the range of the databuffer.

Parameters
offset offset The offset to write.