System\IO\Ports\SerialPort.cs (5)
696bytesReadToBuffer += _internalSerialStream.Read(buffer, offset + bytesReadToBuffer, bytesLeftToRead);
758_readLen += _internalSerialStream.Read(_inBuffer, _readLen, bytesInStream); // read all immediately avail.
831_readLen += _internalSerialStream.Read(_inBuffer, _readLen, bytesInStream); // should execute instantaneously.
870_readLen += _internalSerialStream.Read(_inBuffer, _readLen, maxReadSize);
1076_readLen += _internalSerialStream.Read(_inBuffer, _readLen, bytesInStream);