5 references to BytesToRead
System.IO.Ports (5)
System\IO\Ports\SerialPort.cs (4)
202return _internalSerialStream.BytesToRead + CachedBytesToRead; // count the number of bytes we have in the internal buffer too. 754int bytesInStream = _internalSerialStream.BytesToRead; 829int bytesInStream = _internalSerialStream.BytesToRead; 1073int bytesInStream = _internalSerialStream.BytesToRead;
System\IO\Ports\SerialStream.Unix.cs (1)
45private long TotalBytesAvailable => _totalBytesRead + BytesToRead;