2 writes to encoding
System.Runtime.Serialization (2)
System\Xml\XmlStreamNodeWriter.cs (2)
32
encoding
= XmlStreamNodeWriter.UTF8Encoding;
43
this.
encoding
= encoding;
2 references to encoding
System.Runtime.Serialization (2)
System\Xml\XmlStreamNodeWriter.cs (2)
642
return (int)(chars - (charsMax - charCount)) +
encoding
.GetByteCount(chars, (int)(charsMax - chars));
679
bytes +=
encoding
.GetBytes(charsStart, (int)(chars - charsStart), bytes, (int)(bytesMax - bytes));