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

std::std.memory.std.memory.DataBuffer.PeekUShort

Method PeekUShort:monkey:monkey.types.Ushort( offset:monkey:monkey.types.Int )

Reads a 16 bit ushort 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.