18 references to Base64Encoding
System.Private.DataContractSerialization (18)
System\Xml\ValueHandle.cs (4)
443
int actualLength = DataContractSerializer.
Base64Encoding
.GetBytes(_bufferReader.Buffer, _offset, _length, buffer, 0);
459
return DataContractSerializer.
Base64Encoding
.GetBytes(XmlConverter.StripWhitespace(GetString()));
512
return DataContractSerializer.
Base64Encoding
.GetString(bytes, 0, bytes.Length);
674
actual = DataContractSerializer.
Base64Encoding
.GetBytes(_bufferReader.Buffer, _offset, charCount, buffer, offset);
System\Xml\XmlBaseReader.cs (2)
1178
return ReadBytes(DataContractSerializer.
Base64Encoding
, 3, 4, buffer, offset, Math.Min(count, 512), false);
1370
return ReadBytes(DataContractSerializer.
Base64Encoding
, 3, 4, buffer, offset, Math.Min(count, 512), true);
System\Xml\XmlBaseWriter.cs (6)
1485
WriteAttributeText(DataContractSerializer.
Base64Encoding
.GetString(_trailBytes, 0, _trailByteCount));
1486
WriteAttributeText(DataContractSerializer.
Base64Encoding
.GetString(buffer, offset, actualByteCount - _trailByteCount));
1544
WriteAttributeText(DataContractSerializer.
Base64Encoding
.GetString(_trailBytes, 0, _trailByteCount));
1545
WriteAttributeText(DataContractSerializer.
Base64Encoding
.GetString(buffer, offset, actualByteCount - _trailByteCount));
1748
WriteAttributeText(DataContractSerializer.
Base64Encoding
.GetString(_trailBytes, 0, _trailByteCount));
1764
WriteAttributeText(DataContractSerializer.
Base64Encoding
.GetString(_trailBytes, 0, _trailByteCount));
System\Xml\XmlBinaryWriter.cs (3)
1067
_captureText = DataContractSerializer.
Base64Encoding
.GetString(arraySegment.Array!, arraySegment.Offset, arraySegment.Count);
1105
WriteText(DataContractSerializer.
Base64Encoding
.GetString(trailBytes!, 0, trailByteCount));
1107
WriteText(DataContractSerializer.
Base64Encoding
.GetString(buffer, offset, count));
System\Xml\XmlSigningNodeWriter.cs (1)
357
Base64Encoding encoding = DataContractSerializer.
Base64Encoding
;
System\Xml\XmlUTF8TextWriter.cs (2)
651
Base64Encoding encoding = DataContractSerializer.
Base64Encoding
;
670
Base64Encoding encoding = DataContractSerializer.
Base64Encoding
;