1 write to bufBytes
System.Xml (1)
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
166
bufBytes
= new byte[ bufChars.Length ];
16 references to bufBytes
System.Xml (16)
System\Xml\Core\XmlEncodedRawTextWriter.cs (8)
783
encoder.Convert( bufChars, startOffset, endOffset - startOffset,
bufBytes
, bufBytesUsed,
bufBytes
.Length - bufBytesUsed, false, out chEnc, out bEnc, out completed );
786
if ( bufBytesUsed >= (
bufBytes
.Length - 16 ) ) {
787
stream.Write(
bufBytes
, 0, bufBytesUsed );
792
stream.Write(
bufBytes
, 0, bufBytesUsed );
804
encoder.Convert( bufChars, 1, 0,
bufBytes
, 0,
bufBytes
.Length, true, out chEnc, out bEnc, out completed );
806
stream.Write(
bufBytes
, 0, bEnc );
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (8)
555
encoder.Convert( bufChars, startOffset, endOffset - startOffset,
bufBytes
, bufBytesUsed,
bufBytes
.Length - bufBytesUsed, false, out chEnc, out bEnc, out completed );
558
if ( bufBytesUsed >= (
bufBytes
.Length - 16 ) ) {
559
await stream.WriteAsync(
bufBytes
, 0, bufBytesUsed ).ConfigureAwait(false);
564
await stream.WriteAsync(
bufBytes
, 0, bufBytesUsed ).ConfigureAwait(false);
576
encoder.Convert( bufChars, 1, 0,
bufBytes
, 0,
bufBytes
.Length, true, out chEnc, out bEnc, out completed );
578
return stream.WriteAsync(
bufBytes
, 0, bEnc );