Reference   Examples   Installation   Download
Name

readBytes()

Description Reads data into an array of bytes. Returns the number of bytes read and stored in the array.
Syntax
client.readBytes(buffer)
client.readBytes(buffer, offset, length)
Parameters
client   Client: any variable of type Client

buffer   byte[]: array of bytes to hold data

offset   int: index into buffer where to start storing data

length   int: maximum number of bytes to store

Returns int