Platforms to show: All Mac Windows Linux Cross-Platform

Back to MemoryBlock class.

MemoryBlock.CopyByteToUShortMBS(dest as memoryblock, SourceOffset as Integer, DestinationOffset as Integer, ByteCount as Integer, divisor as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method MemoryBlock MBS Util Plugin 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Copies bytes in a memoryblock to another memoryblock converting the 8bit values to 16bit values.

Common values for divisor are 256 and 257.
No bound checking. Crashes with invalid values. Optimized for special divisor values.

Some examples using this method:

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


The biggest plugin in space...