193 for (
int i = 0; i < 512; i++)
214 else if (
ch <= 65535)
311 c = (char)((
int)c >> 8);
329 for (
int i = 0; i <
array.Length; i++)
static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
Task WriteAsync(byte[] buffer, int offset, int count)
void Write(byte[] buffer, int offset, int count)
virtual int GetByteCount(char[] chars)
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
static Task CompletedTask
unsafe void UnsafeWriteUnicodeChars(char *chars, int charCount)
unsafe void UnsafeWriteUTF8Chars(char *chars, int charCount)
unsafe int UnsafeGetUTF8Chars(char *chars, int charCount, byte[] buffer, int offset)
unsafe int UnsafeGetUTF8Length(char *chars, int charCount)
virtual void FlushBuffer()
void WriteBytes(char ch1, char ch2)
int GetByteCount(char[] chars)
async Task FlushAndWriteBytesAsync(byte b1, byte b2)
override async Task FlushAsync()
Task WriteByteAsync(byte b)
unsafe int UnsafeGetUnicodeChars(char *chars, int charCount, byte[] buffer, int offset)
byte[] GetBuffer(int count, out int offset)
async Task FlushBufferAndWriteByteAsync(byte b)
void SetOutput(Stream stream, bool ownsStream, Encoding encoding)
void WriteUTF8Chars(byte[] chars, int charOffset, int charCount)
Task WriteBytesAsync(char ch1, char ch2)
unsafe void WriteUTF8Char(int ch)
unsafe void WriteUTF8Chars(string value)
Task WriteByteAsync(char ch)
async Task< BytesWithOffset > GetBufferAsync(int count)
unsafe void UnsafeWriteBytes(byte *bytes, int byteCount)
virtual Task FlushBufferAsync()
void WriteBytes(byte b1, byte b2)
static readonly UTF8Encoding s_UTF8Encoding
Task WriteBytesAsync(byte b1, byte b2)
const int maxBytesPerChar
void WriteBytes(byte[] byteBuffer, int byteOffset, int byteCount)