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