Base:
method
Read
System.IO.Stream.Read(System.Byte[], System.Int32, System.Int32)
6 references to Read
System (6)
sys\system\io\ports\SerialPort.cs (6)
890
bytesReadToBuffer += internalSerialStream.
Read
(buffer, offset + bytesReadToBuffer, bytesLeftToRead);
949
readLen += internalSerialStream.
Read
(inBuffer, readLen, bytesInStream); // read all immediately avail.
1021
readLen += internalSerialStream.
Read
(inBuffer, readLen, bytesInStream); // should execute instantaneously.
1059
readLen += internalSerialStream.
Read
(inBuffer, readLen, maxReadSize);
1188
internalSerialStream.
Read
(bytesReceived, CachedBytesToRead, bytesReceived.Length - (CachedBytesToRead)); // get everything
1246
readLen += internalSerialStream.
Read
(inBuffer, readLen, bytesInStream);