|
| EncodingStreamWrapper (Stream stream, Encoding encoding) |
|
| EncodingStreamWrapper (Stream stream, Encoding encoding, bool emitBOM) |
|
override void | Flush () |
|
override int | ReadByte () |
|
override int | Read (byte[] buffer, int offset, int count) |
|
override long | Seek (long offset, SeekOrigin origin) |
|
override void | WriteByte (byte b) |
|
override void | Write (byte[] buffer, int offset, int count) |
|
override void | SetLength (long value) |
|
void | CopyTo (Stream destination) |
|
virtual void | CopyTo (Stream destination, int bufferSize) |
|
Task | CopyToAsync (Stream destination) |
|
Task | CopyToAsync (Stream destination, int bufferSize) |
|
Task | CopyToAsync (Stream destination, CancellationToken cancellationToken) |
|
virtual Task | CopyToAsync (Stream destination, int bufferSize, CancellationToken cancellationToken) |
|
void | Dispose () |
|
virtual void | Close () |
|
virtual ValueTask | DisposeAsync () |
|
Task | FlushAsync () |
|
virtual Task | FlushAsync (CancellationToken cancellationToken) |
|
virtual IAsyncResult | BeginRead (byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) |
|
virtual int | EndRead (IAsyncResult asyncResult) |
|
Task< int > | ReadAsync (byte[] buffer, int offset, int count) |
|
virtual Task< int > | ReadAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken) |
|
virtual ValueTask< int > | ReadAsync (Memory< byte > buffer, CancellationToken cancellationToken=default(CancellationToken)) |
|
virtual IAsyncResult | BeginWrite (byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) |
|
virtual void | EndWrite (IAsyncResult asyncResult) |
|
Task | WriteAsync (byte[] buffer, int offset, int count) |
|
virtual Task | WriteAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken) |
|
virtual ValueTask | WriteAsync (ReadOnlyMemory< byte > buffer, CancellationToken cancellationToken=default(CancellationToken)) |
|
virtual int | Read (Span< byte > buffer) |
|
virtual void | Write (ReadOnlySpan< byte > buffer) |
|
object | GetLifetimeService () |
|
virtual object | InitializeLifetimeService () |
|
|
static readonly UTF8Encoding | s_safeUTF8 = new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: false) |
|
static readonly UnicodeEncoding | s_safeUTF16 = new UnicodeEncoding(bigEndian: false, byteOrderMark: false, throwOnInvalidBytes: false) |
|
static readonly UnicodeEncoding | s_safeBEUTF16 = new UnicodeEncoding(bigEndian: true, byteOrderMark: false, throwOnInvalidBytes: false) |
|
static readonly UTF8Encoding | s_validatingUTF8 = new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true) |
|
static readonly UnicodeEncoding | s_validatingUTF16 = new UnicodeEncoding(bigEndian: false, byteOrderMark: false, throwOnInvalidBytes: true) |
|
static readonly UnicodeEncoding | s_validatingBEUTF16 = new UnicodeEncoding(bigEndian: true, byteOrderMark: false, throwOnInvalidBytes: true) |
|
const int | BufferLength = 128 |
|
static readonly byte[] | s_encodingAttr = new byte[8] { 101, 110, 99, 111, 100, 105, 110, 103 } |
|
static readonly byte[] | s_encodingUTF8 = new byte[5] { 117, 116, 102, 45, 56 } |
|
static readonly byte[] | s_encodingUnicode = new byte[6] { 117, 116, 102, 45, 49, 54 } |
|
static readonly byte[] | s_encodingUnicodeLE = new byte[8] { 117, 116, 102, 45, 49, 54, 108, 101 } |
|
static readonly byte[] | s_encodingUnicodeBE = new byte[8] { 117, 116, 102, 45, 49, 54, 98, 101 } |
|
Definition at line 7 of file EncodingStreamWrapper.cs.