3 overrides of GetByteCount
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Text\EncoderNLS.cs (1)
44public override unsafe int GetByteCount(char[] chars, int index, int count, bool flush)
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (1)
1162public override int GetByteCount(char[] chars, int index, int count, bool flush) =>
System.Text.Encoding.CodePages (1)
System\Text\EncoderNLS.cs (1)
78public override unsafe int GetByteCount(char[] chars, int index, int count, bool flush)
4 references to GetByteCount
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Text\Encoder.cs (3)
76byte[] byteTemp = new byte[GetByteCount(charTemp, 0, 0, true)]; 105return GetByteCount(arrChar, 0, count, flush); 243if (GetByteCount(chars, charIndex, charsUsed, flush) <= byteCount)
src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (1)
261int byteCount = _innerEncoder.GetByteCount(chars, 0, charCount, flush: true);