Platforms to show: All Mac Windows Linux Cross-Platform
Back to MemoryBlock class.
MemoryBlock.MaxMBS(firstMem as Ptr, secondMem as Ptr, BitSize as Integer = 8, Signed as Boolean = false, offsetByte as Integer = 0, lengthBytes as Integer = 0) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MemoryBlock | MBS Util Plugin | 14.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
firstMem and secondMem can be ptr or memoryblock with some values. Can be same as destination (the memoryblock the method is called at)
BitSize defines integer bit depth 8, 16, 32 or 64. Signed defines if to expect signed or unsigned integers.
offsetByte defines offset in destination memoryblock. lengthBytes is length of memory. If zero, we use size of destination memoryblock.
Passing bad parameters can easily lead to crash. Return true on success and false on failure and raises exceptions for invalid parameters.
Some examples using this method:
Blog Entries
The items on this page are in the following plugins: MBS Util Plugin.