This method will read and return any bytes available. It will read up to but no more than the number specified by #count (the first parameter). If #timeout (the second parameter) is zero, or is not specified, then this method may return a zero length bytes object. If #timeout is specified and there are no bytes which can be immediately read, then it indicates the number of MILLISECONDS to wait for any bytes to arrive. If no bytes arrive before the timeout expires, null is returned.
If a network disconnection or other networking error occurs during this method, the method will generate a failure.
trait_readBytes->readSomeBytes(count::integer, timeoutMillis::integer) trait_readBytes->readSomeBytes(count::integer)
No examples found
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.