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

std::std.memory.std.memory.DataBuffer.PokeUByte

Method PokeUByte:Void( offset:monkey:monkey.types.Int,value:monkey:monkey.types.Ubyte )

Writes an unsigned byte to 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 write.