@Test
public void testRead_WithoutOffset() throws Exception {

  final JBBPBitInputStream in = new JBBPBitInputStream(new ByteArrayInputStream(JBBPUtils.str2bin("01010111_01010111_01010111_00011000_01010101_01100011_00000001", JBBPBitOrder.MSB0)));
  assertEquals(0xEA, in.read());
  assertEquals(0xEA, in.read());
  assertEquals(0xEA, in.read());
  assertEquals(0x18, in.read());
  assertEquals(0xAA, in.read());
  assertEquals(0xC6, in.read());
  assertEquals(0x80, in.read());
  assertEquals(-1, in.read());
}