ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.entropy.encoder Namespace / MQCoder Class / MQCoder Constructor
where to output the compressed data.
The number of contexts used by the MQ coder.
The initial state for each context. A reference is kept to this array to reinitialize the contexts whenever 'reset()' or 'resetCtxts()' is called.

In This Topic
    MQCoder Constructor
    In This Topic
    Instantiates a new MQ-coder, with the specified number of contexts and initial states. The compressed bytestream is written to the 'oStream' object.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal oStream As ByteOutputBuffer, _
       ByVal nrOfContexts As Integer, _
       ByVal init() As Integer _
    )

    Parameters

    oStream
    where to output the compressed data.
    nrOfContexts
    The number of contexts used by the MQ coder.
    init
    The initial state for each context. A reference is kept to this array to reinitialize the contexts whenever 'reset()' or 'resetCtxts()' is called.
    See Also