ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.entropy.decoder Namespace / ByteToBitInput Class
Methods


In This Topic
    ByteToBitInput Class Members
    In This Topic

    The following tables list the members exposed by ByteToBitInput.

    Public Constructors
     NameDescription
    Public ConstructorInstantiates a new 'ByteToBitInput' object that uses 'in' as the underlying byte based input.  
    Top
    Public Methods
     NameDescription
    Public MethodChecks 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.  
    Public MethodReads from the bit stream one bit. If 'bpos' is -1 then a byte is read and loaded into the bit buffer, from where the bit is read. If necessary the bit unstuffing will be applied.  
    Top
    See Also