1 write to decoder
System (1)
sys\system\io\ports\SerialPort.cs (1)
310decoder = encoding.GetDecoder();
12 references to decoder
System (12)
sys\system\io\ports\SerialPort.cs (12)
892decoder.Reset(); 918if (decoder.GetCharCount(inBuffer, readPos, CachedBytesToRead) != 0) 925} while (decoder.GetCharCount(inBuffer, beginReadPos, readPos - beginReadPos) < 1); 928decoder.GetChars(inBuffer, beginReadPos, readPos - beginReadPos, oneChar, 0); 976} while (decoder.GetCharCount(inBuffer, readPos, readLen - readPos) < 1); 981decoder.GetChars(inBuffer, readPos, readLen - readPos, oneChar, 0); 1023int charsWeAlreadyHave = decoder.GetCharCount(inBuffer, readPos, CachedBytesToRead); // full chars already in our buffer 1089decoder.GetChars(inBuffer, readPos, bytesToRead, buffer, offset); 1122currentCharsFound = decoder.GetCharCount(inBuffer, lastFullCharPos, currentBytesToExamine); 1146} while (decoder.GetCharCount(inBuffer, lastFullCharPos, foundCharsByteLength) == currentCharsFound); 1152decoder.GetChars(inBuffer, lastFullCharPos, foundCharsByteLength + 1, buffer, offset + totalCharsFound); 1173decoder.Reset();