5 references to ValidatingUTF8
System.Runtime.Serialization (5)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (5)
181
new ArraySegment<byte>(
ValidatingUTF8
.GetBytes(GetEncoding(dataEnc).GetChars(buffer, offset, count)));
308
return
ValidatingUTF8
;
347
if (encoding.WebName ==
ValidatingUTF8
.WebName)
497
byteCount =
ValidatingUTF8
.GetBytes(chars, 0, count, bytes, 0);
518
dec =
ValidatingUTF8
.GetDecoder();