4 references to GetCharCount
System.Diagnostics.Process (1)
System\Diagnostics\Process.Multiplexing.cs (1)
174
int charCount = decoder.
GetCharCount
(byteBuffer, flush);
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 */);