Xojo.Core.MutableMemoryBlock.Right
From Xojo Documentation
Method
Xojo.Core.MutableMemoryBlock.Right(bytes As UInteger, Assigns value As Xojo.Core.MemoryBlock)
Supported for all project types and targets.
Supported for all project types and targets.
Replaces the bytes from the end of the MemoryBlock.
Exceptions
- OutOfBoundsException if the number of bytes exceeds the size of the MemoryBlock.
- RuntimeException if the MemoryBlock does not have a known size.
- NilObjectException if trying to assign a Nil MemoryBlock or Byte array