BytesToStringUtilities.ToString(MemoryStream,Encoding,Boolean) - метод Смотри также Terrasoft.Common - пространство имен > BytesToStringUtilities - класс > ToString - метод : ToString(MemoryStream,Encoding,Boolean) - метод C#
- source
- Stream.
- encoding
- Encoding.
- detectEncodingFromByteOrderMarks
true
if the instance contains prefix that determines its encoding; otherwise -false
.
Glossary Item Box
[Extension()] public static string ToString( MemoryStream source, Encoding encoding, bool detectEncodingFromByteOrderMarks )
Параметры
- source
- Stream.
- encoding
- Encoding.
- detectEncodingFromByteOrderMarks
true
if the instance contains prefix that determines its encoding; otherwise -false
.
Тип возвращаемого значения
The System.IO.MemoryStream instance that is the string presentation of the source stream in the encoding encoding. If the detectEncodingFromByteOrderMarks value istrue
then the prefix is added to the System.String instance.Overloaded method.
The extension method for the System.IO.MemoryStream class.