1 write to _bufBytes
System.Private.Xml (1)
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
148
_bufBytes
= new byte[_bufChars.Length];
16 references to _bufBytes
System.Private.Xml (16)
System\Xml\Core\XmlEncodedRawTextWriter.cs (8)
857
_encoder!.Convert(_bufChars, startOffset, endOffset - startOffset,
_bufBytes
!, _bufBytesUsed,
_bufBytes
!.Length - _bufBytesUsed, false, out chEnc, out bEnc, out _);
860
if (_bufBytesUsed >= (
_bufBytes
.Length - 16))
862
_stream!.Write(
_bufBytes
, 0, _bufBytesUsed);
868
_stream!.Write(
_bufBytes
!, 0, _bufBytesUsed);
880
_encoder!.Convert(_bufChars, 1, 0,
_bufBytes
!, 0,
_bufBytes
!.Length, true, out _, out bEnc, out _);
883
_stream.Write(
_bufBytes
, 0, bEnc);
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (8)
689
_encoder!.Convert(_bufChars, startOffset, endOffset - startOffset,
_bufBytes
!, _bufBytesUsed,
_bufBytes
!.Length - _bufBytesUsed, false, out chEnc, out bEnc, out _);
692
if (_bufBytesUsed >= (
_bufBytes
.Length - 16))
694
await _stream!.WriteAsync(
_bufBytes
.AsMemory(0, _bufBytesUsed)).ConfigureAwait(false);
700
await _stream!.WriteAsync(
_bufBytes
.AsMemory(0, _bufBytesUsed)).ConfigureAwait(false);
712
_encoder!.Convert(_bufChars, 1, 0,
_bufBytes
!, 0,
_bufBytes
!.Length, true, out _, out bEnc, out _);
715
return _stream.WriteAsync(
_bufBytes
, 0, bEnc);