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

std::std.memory.std.memory.DataBuffer.PeekShort

Method PeekShort:monkey:monkey.types.Short( offset:monkey:monkey.types.Int )

Reads a 16 bit short from 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 read.