ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / PktDecoder Class / restart Method
The number of components in this tile
The maximum number of decomposition level in each component of this tile
The number of layers in this tile
The code-blocks array
Flag indicating whether packed packet headers was used
Stream containing the packed packet headers

In This Topic
    restart Method
    In This Topic
    Re-initialize the PktDecoder instance at the beginning of a new tile.
    Syntax
    'Declaration
     
    
    Public Overridable Function restart( _
       ByVal nc As Integer, _
       ByVal mdl() As Integer, _
       ByVal nl As Integer, _
       ByVal cbI() As CBlkInfo, _
       ByVal pph As Boolean, _
       ByVal pphbais As MemoryStream _
    ) As CBlkInfo()
    public virtual CBlkInfo[] restart( 
       int nc,
       int[] mdl,
       int nl,
       CBlkInfo[] cbI,
       bool pph,
       MemoryStream pphbais
    )

    Parameters

    nc
    The number of components in this tile
    mdl
    The maximum number of decomposition level in each component of this tile
    nl
    The number of layers in this tile
    cbI
    The code-blocks array
    pph
    Flag indicating whether packed packet headers was used
    pphbais
    Stream containing the packed packet headers
    See Also