Источник:
http://daxonline.org/1963-convert-st...io-stream.html
==============
str string = 'some string';// Convert String to System.IO.StreamSystem.Byte[] byteArray = System.Text.Encoding::get_UTF8().GetBytes(string);System.IO.MemoryStream stream = new System.IO.MemoryStream(byteArray);// Convert Byte array to Stringstring = System.Text.Encoding::get_UTF8().GetString(byteArray);
Источник:
http://daxonline.org/1963-convert-st...io-stream.html