public void testClearBitCache() throws IOException { final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.LITTLE_ENDIAN); assertEquals(0x08, bis.readBits(4)); bis.clearBitCache(); assertEquals(0, bis.readBits(1)); bis.close(); }