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

std::std.memory.std.memory.DataBuffer.PeekInt

Method PeekInt:monkey:monkey.types.Int( offset:monkey:monkey.types.Int )

Reads a 32 bit int 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.