sys\system\io\ports\SerialPort.cs (6)
928decoder.GetChars(inBuffer, beginReadPos, readPos - beginReadPos, oneChar, 0);
936return oneChar[0];
954if (ReadBufferIntoChars(oneChar, 0, 1, false) == 0)
957return oneChar[0];
981decoder.GetChars(inBuffer, readPos, readLen - readPos, oneChar, 0);
985return oneChar[0];