Platforms to show: All Mac Windows Linux Cross-Platform

Back to Memoryblock class.

Memoryblock.EndianS32_LtoNMBS(offset as Integer,count as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Endian MBS Util Plugin ✅ Yes ✅ Yes ❌ No ✅ Yes All
Converts between BigEndian, LowEndian and Native byte encoding.
Example
dim mem as memoryblock // your memoryblock
mem.EndianS32_LtoNMBS(0,mem.size/4)

e.g.:
EndianS32_BtoNMBS(offset as Integer,count as Integer)
EndianU16_LtoBMBS(offset as Integer,count as Integer)

Details:
S for signed or U for unsigned.
16 for short and 32 for integer.
B for BigEndian (Mac), L for LowEndian (x86) and N for the native form of the current platform.

Note that count is not the size of the block, but the count of the integers to change.

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...