class DittedBitSequence {

	public int getNumInitialFixedBits(int marked) {
		if (dits == null) {
			return 0;
		}
		if ((marked <= 0) || (marked > dits.length)) {
			return 0;//perhaps return -1 instead?
		}
		int popcnt = 0;
		for (int i = 0; i < marked; ++i) {
			popcnt += popcount[0xff & dits[i]];
		}
		return popcnt;
	}

	public  DittedBitSequence();
	public  DittedBitSequence(String dittedBitData);
	public  DittedBitSequence(String dittedBitData, boolean hex);
	public  DittedBitSequence(DittedBitSequence op2);
	public  DittedBitSequence(byte[] bytes);
	public  DittedBitSequence(byte[] bytes, byte[] mask);
	public  DittedBitSequence(DittedBitSequence s1, DittedBitSequence s2);

}