6 overrides of GetCharCount
mscorlib (2)
system\text\decodernls.cs (1)
78
public override unsafe int
GetCharCount
(byte[] bytes, int index, int count)
system\text\encoding.cs (1)
1847
public override int
GetCharCount
(byte[] bytes, int index, int count)
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (1)
506
public override int
GetCharCount
(byte[] bytes, int index, int count)
System.Xml (3)
System\Xml\XmlEncoding.cs (3)
23
public override int
GetCharCount
( byte[] bytes, int index, int count ) {
143
public override int
GetCharCount
( byte[] bytes, int index, int count ) {
329
public override int
GetCharCount
( byte[] bytes, int index, int count ) {
11 references to GetCharCount
mscorlib (2)
system\text\decoder.cs (2)
123
return
GetCharCount
(bytes, index, count);
149
return
GetCharCount
(arrbyte, 0, count);
System (9)
net\System\Net\_CommandStream.cs (1)
603
char[] chars = new char[m_Decoder.
GetCharCount
(state.Buffer, 0, bytesRead)];
sys\system\io\ports\SerialPort.cs (8)
918
if (decoder.
GetCharCount
(inBuffer, readPos, CachedBytesToRead) != 0)
925
} while (decoder.
GetCharCount
(inBuffer, beginReadPos, readPos - beginReadPos) < 1);
976
} while (decoder.
GetCharCount
(inBuffer, readPos, readLen - readPos) < 1);
1023
int charsWeAlreadyHave = decoder.
GetCharCount
(inBuffer, readPos, CachedBytesToRead); // full chars already in our buffer
1122
currentCharsFound = decoder.
GetCharCount
(inBuffer, lastFullCharPos, currentBytesToExamine);
1146
} while (decoder.
GetCharCount
(inBuffer, lastFullCharPos, foundCharsByteLength) == currentCharsFound);
1196
int numCharsReceived = localDecoder.
GetCharCount
(bytesReceived, 0, bytesReceived.Length);
1212
} while (localDecoder.
GetCharCount
(bytesReceived, 0, lastFullCharIndex) == numCharsReceived);