[]
        
(Showing Draft Content)

CSJ2K.j2k.util.ISRandomAccessIO.-ctor

ISRandomAccessIO Constructor

ISRandomAccessIO(Stream, int, int, int)

Creates a new RandomAccessIO wrapper for the given InputStream 'is'. The internal cache buffer will have size 'size' and will increment by 'inc' each time it is needed. The maximum buffer size is limited to 'maxsize'.

Declaration
public ISRandomAccessIO(Stream is_Renamed, int size, int inc, int maxsize)
Parameters
Type Name Description
Stream is_Renamed
int size

The initial size for the cache buffer, in bytes.

int inc

The size increment for the cache buffer, in bytes.

int maxsize

The maximum size for the cache buffer, in bytes.

ISRandomAccessIO(Stream)

Creates a new RandomAccessIO wrapper for the given InputStream 'is'. The internal cache buffer size and increment is to to 256 kB. The maximum buffer size is set to Integer.MAX_VALUE (2 GB).

Declaration
public ISRandomAccessIO(Stream is_Renamed)
Parameters
Type Name Description
Stream is_Renamed