2 overrides of GetByteCount
mscorlib (2)
system\text\encodernls.cs (1)
84
public override unsafe int
GetByteCount
(char[] chars, int index, int count, bool flush)
system\text\encoding.cs (1)
1725
public override int
GetByteCount
(char[] chars, int index, int count, bool flush)
4 references to GetByteCount
mscorlib (3)
system\text\encoder.cs (3)
106
byte[] byteTemp = new byte[
GetByteCount
(charTemp, 0, 0, true)];
145
return
GetByteCount
(arrChar, 0, count, flush);
280
if (
GetByteCount
(chars, charIndex, charsUsed, flush) <= byteCount)
System.Data (1)
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
236
byte[] bytes = new byte[_encoder.
GetByteCount
(buffer, bufferOffset, length, false)];