Platforms to show: All Mac Windows Linux Cross-Platform
Back to MemoryBlock class.
MemoryBlock.BitwiseXOrMBS(Second as MemoryBlock, Dest as MemoryBlock = nil) as MemoryBlock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MemoryBlock | MBS Util Plugin | 22.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
We walk over all values in current and second MemoryBlock and apply a bitwise XOR to each byte and store that in the destination block.
If dest is nil, a new memoryblock is created. You can speed up processing with reusing the same memoryblock in iterations. If you pass a memoryblock, the plugin does not check the size of the memoryblock.
Returns nil on any error. For example if source is a memoryblock without a known size.
Blog Entries
The items on this page are in the following plugins: MBS Util Plugin.