Read Bytes from Source

b1, b2, … = source.readbytes(p, n, [timeout])

Calls source.read and converts the resulting string into a series of bytes.

Parameter Type Description
p table Protocol table
n integer Number of bytes to read or wait for. If zero, or not present, then reads all that's currently available
timeout integer Milliseconds to wait for data to arrive
Returns Type Description
b1, b2, … integer Bytes read