3 references to GetCharCount
System.Memory (3)
System\Text\EncodingExtensions.cs (3)
364
int charCountThisIteration = decoder.
GetCharCount
(firstSpan, flush: isFinalSegment); // could throw ArgumentException if overflow would occur
526
? decoder.
GetCharCount
(bytes, flush)
527
: decoder.
GetCharCount
(bytes.Slice(0, MaxInputElementsPerIteration), flush: false /* this isn't the end of the data */);