int readIntoByteArray(String sessionNickName, int maxNumBytesToRead, Object byteArray)
int readIntoByteArray(String sessionNickName, int maxNumBytesToRead, Object byteArray)
Name | Type | Description |
---|---|---|
sessionNickName | String | Nick name of the session |
maxNumBytesToRead | int | reading stops and returns the data collected so far. |
byteArray | Object | into which the data will be read from offset 0. (For use in custom Java code). |
Type | Description |
---|---|
int | -1 if End-of-stream is reached or the number of bytes that were read into the array
passed. |