code: @Override
  	public int readBit() {
  		if (position >= size) throw new EndOfBitStreamException();
  		int k = (ints[(int)(position >> 5)] >> (31 - (((int)position) & 31))) & 1;
  		position++;
  		return k;
  	}
docs: bit reader methods