[]
Instantiates a new MQ-decoder, with the specified number of contexts and initial states. The compressed bytestream is read from the 'iStream' object.
public MQDecoder(ByteInputBuffer iStream, int nrOfContexts, int[] initStates)
Type | Name | Description |
---|---|---|
ByteInputBuffer | iStream | the stream that contains the coded bits |
int | nrOfContexts | The number of contexts used |
int[] | initStates | The initial state for each context. A reference is kept to this array to reinitialize the contexts whenever 'reset()' or 'resetCtxts()' is called. |