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