[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.encoder.ByteOutputBuffer.toByteArray

toByteArray Method

toByteArray(int, int, byte[], int)

Copies the specified part of the stream to the 'outbuf' byte array.

Declaration
public virtual void toByteArray(int off, int len, byte[] outbuf, int outoff)
Parameters
Type Name Description
int off

The index of the first element in the stream to copy.

int len

The number of elements of the array to copy

byte[] outbuf

The destination array

int outoff

The index of the first element in 'outbuf' where to write the data.