5 references to ValidateUtf8AndGetCharCount
System.Formats.Cbor (5)
System\Formats\Cbor\Reader\CborReader.String.cs (5)
240
int charLength =
ValidateUtf8AndGetCharCount
(encodedSlice, utf8Encoding);
283
ValidateUtf8AndGetCharCount
(encodedSlice.Span, encoding);
388
concatenatedStringSize +=
ValidateUtf8AndGetCharCount
(buffer.Slice(o, l), utf8Encoding);
423
concatenatedStringSize +=
ValidateUtf8AndGetCharCount
(buffer.Slice(o, l), utf8Encoding);
503
ValidateUtf8AndGetCharCount
(encodedSlice, utf8Encoding);