src/main/java/net/sourceforge/jaad/aac/syntax/BitStream.java
@Override
    public int readBit() throws AACException {
		int i;
		if(bitsCached>0) {
			bitsCached--;
			i = (cache>>(bitsCached))&1;
			position++;
		}
		else {
			cache = readCache(false);
			bitsCached = WORD_BITS-1;
			position++;
			i = (cache>>bitsCached)&1;
		}
		return i;
	}
@Override
    public int readBit() throws AACException {
		int i;
		if(bitsCached>0) {
			bitsCached--;
			i = (cache>>(bitsCached))&1;
			position++;
		}
		else {
			cache = readCache(false);
			bitsCached = WORD_BITS-1;
			position++;
			i = (cache>>bitsCached)&1;
		}
		return i;
	}
@ Override public int readBit ( ) throws AACException { int i ; if ( bitsCached > 0 ) { bitsCached -- ; i = ( cache >> ( bitsCached ) ) & 1 ; position ++ ; } else { cache = readCache ( false ) ; bitsCached = WORD_BITS - 1 ; position ++ ; i = ( cache >> bitsCached ) & 1 ; } return i ; }
/* (non-Javadoc)
@see net.sourceforge.jaad.aac.syntax.IBitStream#readBit()
/ * ( non - Javadoc )