ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.codestream.reader Namespace / HeaderDecoder Class / checkMarkerLength Method
The encoded header stream
The string identifying the marker, such as "SIZ marker"

In This Topic
    checkMarkerLength Method
    In This Topic
    Checks that the marker segment length is correct.
    Syntax
    'Declaration
     
    
    Public Overridable Sub checkMarkerLength( _
       ByVal ehs As BinaryReader, _
       ByVal str As String _
    ) 
    public virtual void checkMarkerLength( 
       BinaryReader ehs,
       string str
    )

    Parameters

    ehs
    The encoded header stream
    str
    The string identifying the marker, such as "SIZ marker"
    Exceptions
    ExceptionDescription
    If an I/O error occurs
    See Also