[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.decoder.ByteToBitInput.checkBytePadding

checkBytePadding Method

checkBytePadding()

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.

Declaration
public virtual bool checkBytePadding()
Returns
Type Description
bool

True if errors are found, false otherwise.