[]
Instantiates a new MQ-coder, with the specified number of contexts and initial states. The compressed bytestream is written to the 'oStream' object.
public MQCoder(ByteOutputBuffer oStream, int nrOfContexts, int[] init)
Type | Name | Description |
---|---|---|
ByteOutputBuffer | oStream | where to output the compressed data. |
int | nrOfContexts | The number of contexts used by the MQ coder. |
int[] | init | The initial state for each context. A reference is kept to this array to reinitialize the contexts whenever 'reset()' or 'resetCtxts()' is called. |