Xojo.Core.MemoryBlock.Right
From Xojo Documentation
Method
Xojo.Core.MemoryBlock.Right(bytes As UInteger) As Xojo.Core.MemoryBlock
Supported for all project types and targets.
Supported for all project types and targets.
Gets 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.
Sample Code
Get the last two bytes of a MemoryBlock: