SetMemblockInt

Description

Writes an int (4 byte) value at the given offset. The offset must be less than the size of the memblock. The first value is at offset 0. For best performance the offset should be a multiple of 4 because writing integer values that are not aligned to 4 byte boundaries incurs a hardware performance penalty. Int values are stored in little endian format so writing an int of 23 at offset 0 and then reading it back in bytes would return the byte at offset 0 as 23, the byte at offset 1 as 0, the byte at offset 2 as 0, and the byte at offset 3 as 0.

Definition

SetMemblockInt( memID, offset, value )

Parameters