ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.entropy.decoder Namespace / MQDecoder Class / checkPredTerm Method

In This Topic
    checkPredTerm Method
    In This Topic
    Checks for past errors in the decoding process using the predictable error resilient termination. This works only if the encoder used the predictable error resilient MQ termination, otherwise it reports wrong results. If an error is detected it means that the MQ bit stream has been wrongly decoded or that the MQ terminated segment length is too long. If no errors are detected it does not necessarily mean that the MQ bit stream has been correctly decoded.
    Syntax
    'Declaration
     
    
    Public Overridable Function checkPredTerm() As Boolean
    public virtual bool checkPredTerm()

    Return Value

    True if errors are found, false otherwise.
    See Also