BitStream bs0 = new BitStream(data, 0, Byte.SIZE * data.length);
BitStream bs1 = new BitStream(data, 0, Byte.SIZE * data.length);
assertEquals(1, bs0.readBit());
assertEquals(1, bs1.readBit());
bs0.alignRead();
bs1.skipRead(7);
assertEquals(1, bs0.readBit());
assertEquals(1, bs1.readBit());
assertEquals(7, bs0.available());
assertEquals(7, bs1.available());