ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / PktDecoder Class / readPktBody Method
layer index
Resolution level index
Component index
Precinct index
CBlkInfo array of relevant component and resolution level.
The remainding number of bytes to read from the bit stream in each tile before reaching the decoding rate (in truncation mode)

In This Topic
    readPktBody Method
    In This Topic
    Reads specificied packet body in order to find offset of each code-block's piece of codeword. This use the list of found code-blocks in previous red packet head.
    Syntax
    'Declaration
     
    
    Public Overridable Function readPktBody( _
       ByVal l As Integer, _
       ByVal r As Integer, _
       ByVal c As Integer, _
       ByVal p As Integer, _
       ByVal cbI() As CBlkInfo, _
       ByVal nb() As Integer _
    ) As Boolean
    public virtual bool readPktBody( 
       int l,
       int r,
       int c,
       int p,
       CBlkInfo[] cbI,
       int[] nb
    )

    Parameters

    l
    layer index
    r
    Resolution level index
    c
    Component index
    p
    Precinct index
    cbI
    CBlkInfo array of relevant component and resolution level.
    nb
    The remainding number of bytes to read from the bit stream in each tile before reaching the decoding rate (in truncation mode)

    Return Value

    True if decoding rate is reached
    See Also