2 writes to decoder
System.Xml (2)
System\Xml\Core\ReadContentAsBinaryHelper.cs (2)
314
decoder
= base64Decoder;
324
decoder
= binHexDecoder;
26 references to decoder
System.Xml (26)
System\Xml\Core\ReadContentAsBinaryHelper.cs (13)
88
if (
decoder
== base64Decoder ) {
135
if (
decoder
== binHexDecoder ) {
184
if (
decoder
== base64Decoder ) {
231
if (
decoder
== binHexDecoder ) {
328
Debug.Assert(
decoder
!= null );
334
decoder
.SetNextOutputBuffer( buffer, index, count );
341
int decodedCharsCount =
decoder
.Decode( valueChunk, valueOffset, valueChunkLength - valueOffset );
344
if (
decoder
.IsFull ) {
345
return
decoder
.DecodedCount;
357
int decodedCharsCount =
decoder
.Decode( value, valueOffset, value.Length - valueOffset );
360
if (
decoder
.IsFull ) {
361
return
decoder
.DecodedCount;
370
return
decoder
.DecodedCount;
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (13)
38
if (
decoder
== base64Decoder ) {
85
if (
decoder
== binHexDecoder ) {
134
if (
decoder
== base64Decoder ) {
181
if (
decoder
== binHexDecoder ) {
252
Debug.Assert(
decoder
!= null );
258
decoder
.SetNextOutputBuffer( buffer, index, count );
265
int decodedCharsCount =
decoder
.Decode( valueChunk, valueOffset, valueChunkLength - valueOffset );
268
if (
decoder
.IsFull ) {
269
return
decoder
.DecodedCount;
281
int decodedCharsCount =
decoder
.Decode( value, valueOffset, value.Length - valueOffset );
284
if (
decoder
.IsFull ) {
285
return
decoder
.DecodedCount;
294
return
decoder
.DecodedCount;