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

std::std.memory.std.memory.DataBuffer.PeekByte

Method PeekByte:monkey:monkey.types.Byte( offset:monkey:monkey.types.Int )

Reads a byte 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.