InputStream.read

Read data from the stream.

interface InputStream
long
read
(
void[] data
)

Parameters

data void[]

Buffer where to copy the read data and sized to the amount of bytes to be read.

Return Value

Type: long

The number of bytes actually read, or -1 on error.

Meta