EncodingTranslatorStream - свойства |
Тип EncodingTranslatorStream предоставляет следующие члены.
Имя | Описание | |
---|---|---|
CanRead | (Переопределяет StreamCanRead.) | |
CanSeek | (Переопределяет StreamCanSeek.) | |
CanTimeout | Gets a value that determines whether the current stream can time out. (Унаследован от Stream.) | |
CanWrite | (Переопределяет StreamCanWrite.) | |
Length |
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.
(Переопределяет StreamLength.) | |
Position |
The actual position in bytes (not characters)
(Переопределяет StreamPosition.) | |
ReadTimeout | Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out. (Унаследован от Stream.) | |
WriteTimeout | Gets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out. (Унаследован от Stream.) |