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