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

std::std.memory.std.memory.DataBuffer.PokeUShort

Method PokeUShort:Void( offset:monkey:monkey.types.Int,value:monkey:monkey.types.Ushort )

Writes a 16 bit unsigned 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.