EncodingTranslatorStreamLength - свойство

Returns the length of the string in bytes. Note, depending on the encoding type of the stream, the byte length will vary, as characters may require multiple bytes for certain encodings. Some encodings allow different byte lengths depending on the character. This function will return the maximum amount of bytes that the string may take, as returning the actual requires processing the entire string which is time and memory consuming.

Definition

Пространство имён: Tessa.Platform.IO
Сборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
C#
public override long Length { get; }

Значение свойства

Int64

См. также