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

std::std.memory.std.memory.DataBuffer.PeekFloat

Method PeekFloat:monkey:monkey.types.Float( offset:monkey:monkey.types.Int )

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