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

In This Topic
    readBit Method (ByteToBitInput)
    In This Topic
    Reads 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.
    Syntax
    'Declaration
     
    
    Public Function readBit() As Integer
    public int readBit()

    Return Value

    The read bit (0 or 1).
    See Also