ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / PktDecoder Class / readSOPMarker Method
The number of bytes left to read from each tile
Precinct index
Component index
Resolution level index

In This Topic
    readSOPMarker Method
    In This Topic
    Try to read a SOP marker and check that its sequence number if not out of sequence. If so, an error is thrown.
    Syntax
    'Declaration
     
    
    Public Overridable Function readSOPMarker( _
       ByVal nBytes() As Integer, _
       ByVal p As Integer, _
       ByVal c As Integer, _
       ByVal r As Integer _
    ) As Boolean
    public virtual bool readSOPMarker( 
       int[] nBytes,
       int p,
       int c,
       int r
    )

    Parameters

    nBytes
    The number of bytes left to read from each tile
    p
    Precinct index
    c
    Component index
    r
    Resolution level index
    See Also