read_usec
Description:
Attempt to read data.length
bytes into data
from the connected this, blocking up to
the specified timeout
.
timeout
can be 0, 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 in microseconds |
size |
the size of |
Returns:
OK on success. |