MemoryBlock.WString

From Xojo Documentation

Method

MemoryBlock.WString(Offset as Integer) As String

New in 2005r1

Supported for all project types and targets.

Allows you to get and set null-terminated WStrings (UTF-16 strings) in a MemoryBlock. Offset is in bytes from the beginning of the MemoryBlock. The String returned by MemoryBlock.WString has encoding UTF-16.