5 references to ValidateUtf8AndGetCharCount
System.Formats.Cbor (5)
System\Formats\Cbor\Reader\CborReader.String.cs (5)
244int charLength = ValidateUtf8AndGetCharCount(encodedSlice, utf8Encoding); 291ValidateUtf8AndGetCharCount(encodedSlice.Span, encoding); 396concatenatedStringSize += ValidateUtf8AndGetCharCount(buffer.Slice(o, l), utf8Encoding); 431concatenatedStringSize += ValidateUtf8AndGetCharCount(buffer.Slice(o, l), utf8Encoding); 511ValidateUtf8AndGetCharCount(encodedSlice, utf8Encoding);