ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.entropy.decoder Namespace / MQDecoder Class / nextSegment Method
The byte array containing the MQ encoded data. If null the current byte array is assumed.
The index of the first element in 'buf' to be decoded. If negative the byte just after the previous segment is assumed, only valid if 'buf' is null.
The number of bytes in 'buf' to be decoded. Any subsequent bytes are taken to be 0xFF.

In This Topic
    nextSegment Method
    In This Topic
    Resets the MQ decoder to start a new segment. This is like recreating a new MQDecoder object with new input data.
    Syntax
    'Declaration
     
    
    Public Sub nextSegment( _
       ByVal buf() As Byte, _
       ByVal off As Integer, _
       ByVal len As Integer _
    ) 
    public void nextSegment( 
       byte[] buf,
       int off,
       int len
    )

    Parameters

    buf
    The byte array containing the MQ encoded data. If null the current byte array is assumed.
    off
    The index of the first element in 'buf' to be decoded. If negative the byte just after the previous segment is assumed, only valid if 'buf' is null.
    len
    The number of bytes in 'buf' to be decoded. Any subsequent bytes are taken to be 0xFF.
    See Also