read
abstract fun read( buffer: ByteArray, offsetInBytes: Int, sizeInBytes: Int): Int
Content copied to clipboard
Return
int zero or the positive number of bytes that were read, or negative number if error.
See also
Parameters
buffer
the byte array into which the data is read.
offsetInBytes
the start offset in data
sizeInBytes
the maximum number of bytes to read
Return
int zero or the positive number of bytes that were read, or negative number if error.
See also
Parameters
buffer
the byte buffer into which the data is read.
sizeInBytes
the maximum number of bytes to read