The ReadArray method reads buffered data from a virtual port.
This method is Visual Basic specific.
object.ReadArray(DataArray() as Byte, BytesToRead, [Timeout]) as Long
| Parameter | Description |
|---|---|
| DataArray | Destination array of bytes |
| BytesToRead | Number of bytes to read |
| Timeout | Time (in milliseconds) to wait for write operation completion |
The ReadArray method returns count of read bytes.
The ReadArray method may throw the following exceptions: