From Xojo Documentation
Gets and sets a String of arbitrary size; it may contain nulls, and is not prefixed with a length byte.
When setting, if Length is greater than the length of the string, it is padded with zeros. Offset is in bytes from the beginning of the MemoryBlock.
This example sets a string and then reads it back.