Link Search Menu Expand Document

ByteArray.ToUString Method

Explanation Returns the data stored in the ByteArray object as a Unicode string. If a null character appears in the data, the data after that is ignored.

Added since Ver.5.0.1
Call format var ustr = barr.ToUString ()
Return value UString type string
Argument None
Exception None
Example of use
var f = fs.OpenDialog (" Read File ", "Unicode Text (* .txt) = * .txt", "txt", "");
var b = f.ReadBinary ();
var ustr = b.ToUString ();
Related item