1 write to _decoder
System.IO.Ports (1)
System\IO\Ports\SerialPort.cs (1)
313_decoder = _encoding.GetDecoder();
12 references to _decoder
System.IO.Ports (12)
System\IO\Ports\SerialPort.cs (12)
698_decoder.Reset(); 724if (_decoder.GetCharCount(_inBuffer, _readPos, CachedBytesToRead) != 0) 731} while (_decoder.GetCharCount(_inBuffer, beginReadPos, _readPos - beginReadPos) < 1); 735_decoder.GetChars(_inBuffer, beginReadPos, _readPos - beginReadPos, _oneChar, 0); 786} while (_decoder.GetCharCount(_inBuffer, _readPos, _readLen - _readPos) < 1); 791_decoder.GetChars(_inBuffer, _readPos, _readLen - _readPos, _oneChar, 0); 833int charsWeAlreadyHave = _decoder.GetCharCount(_inBuffer, _readPos, CachedBytesToRead); // full chars already in our buffer 901_decoder.GetChars(_inBuffer, _readPos, bytesToRead, buffer, offset); 935currentCharsFound = _decoder.GetCharCount(_inBuffer, lastFullCharPos, currentBytesToExamine); 959} while (_decoder.GetCharCount(_inBuffer, lastFullCharPos, foundCharsByteLength) == currentCharsFound); 965_decoder.GetChars(_inBuffer, lastFullCharPos, foundCharsByteLength + 1, buffer, offset + totalCharsFound); 986_decoder.Reset();