[]
        
(Showing Draft Content)

CSJ2K.j2k.util.ISRandomAccessIO.readFully

readFully Method

readFully(byte[], int, int)

Reads 'len' bytes of data from this file into an array of bytes. This method reads repeatedly from the stream until all the bytes are read. This method blocks until all the bytes are read, the end of the stream is detected, or an exception is thrown.

Declaration
public virtual void readFully(byte[] b, int off, int n)
Parameters
Type Name Description
byte[] b

The buffer into which the data is to be read. It must be long enough.

int off

The index in 'b' where to place the first byte read.

int n
Implements