MemoryBlock.StringValue
From Xojo Documentation
Method
MemoryBlock.StringValue(Offset as Integer,Length as Integer) As String
Supported for all project types and targets.
Supported for all project types and targets.
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.
Sample Code
This example sets a string and then reads it back.