read
Description:
[ Version ( deprecated = true , deprecated_since = "1.18" ) ]
public Result read (uint8[] data, TimeVal timeout)
public Result read (uint8[] data, TimeVal timeout)
Warning: read is deprecated since 1.18.
Attempt to read data.length bytes into data from the connected this, blocking up to
the specified timeout.
timeout can be null, in which case this function might block forever.
This function can be cancelled with flush.
Parameters:
| this | |
| data |
the data to read |
| timeout |
a timeout value or null |
| size |
the size of |
Returns:
|
OK on success. |