@Test
public void testReadArray_Bytes_ThreeItems() throws Exception {

  final JBBPBitInputStream in = new JBBPBitInputStream(new ByteArrayInputStream(new byte[] {1, 2, 3, 4, 5, 6, 7, 0}));
  assertArrayEquals(new byte[] {1, 2, 3,}, in.readByteArray(3));
}