[ Version ( since = "1.18" ) ]
public Result write_usec (uint8[] data, int64 timeout)
Attempt to write data.length
bytes of data
to 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.
this | |
data |
the data to write |
timeout |
a timeout value or 0 |
size |
the size of |
OK on success. |