FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (7)
94_byteCount = s_validatingUTF8.GetBytes(_chars, 0, count, _bytes, 0);
127return s_validatingUTF8;
180else if (encoding.WebName == s_validatingUTF8.WebName)
203_dec = s_validatingUTF8.GetDecoder();
511bytes = new byte[s_validatingUTF8.GetMaxByteCount(ccount)];
512int bcount = s_validatingUTF8.GetBytes(chars, 0, ccount, bytes, 0);
526seg = new ArraySegment<byte>(s_validatingUTF8.GetBytes(GetEncoding(declEnc).GetChars(buffer, offset, count)));