[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.decoder.ByteToBitInput.readBit

readBit Method

readBit()

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.

Declaration
public int readBit()
Returns
Type Description
int

The read bit (0 or 1).