ComponentOne PDF for .NET
CSJ2K.j2k.entropy.decoder Namespace / ByteToBitInput Class / checkBytePadding Method

In This Topic
    checkBytePadding Method (ByteToBitInput)
    In This Topic
    Checks for past errors in the decoding process by verifying the byte padding with an alternating sequence of 0's and 1's. If an error is detected it means that the raw bit stream has been wrongly decoded or that the raw terminated segment length is too long. If no errors are detected it does not necessarily mean that the raw bit stream has been correctly decoded.
    Syntax
    'Declaration
     
    
    Public Overridable Function checkBytePadding() As Boolean
    public virtual bool checkBytePadding()

    Return Value

    True if errors are found, false otherwise.
    See Also