Bit iteration is wrapped with BitInputStream. All ByteBuffer code removed.