What is the best way to convert TBytes (UTF-16) to a string?
I ended up using
TEncoding.Unicode.GetString( MyByteArray );
StringOf converts TBytes to a UnicodeString. BytesOf converts a UnicodeString to TBytes.
I ended up using
TEncoding.Unicode.GetString( MyByteArray );
StringOf converts TBytes to a UnicodeString. BytesOf converts a UnicodeString to TBytes.