System\IO\Ports\SerialPort.cs (6)
735_decoder.GetChars(_inBuffer, beginReadPos, _readPos - beginReadPos, _oneChar, 0);
744return _oneChar[0];
763if (ReadBufferIntoChars(_oneChar, 0, 1, false) == 0)
766return _oneChar[0];
791_decoder.GetChars(_inBuffer, _readPos, _readLen - _readPos, _oneChar, 0);
795return _oneChar[0];