int remaining = other.bitIndex % 8;
int remaining = other.bitIndex % 8 + 1;
    public boolean startsWith(DLNBase other) {    	int bytes = other.bitIndex / 8;    	int remaining = other.bitIndex % 8;    	for (int i = 0; i < bytes; i++) {    		if (bits[i] != other.bits[i])    			return false;    	}    	for (int i = 0; i < remaining; i++) {    		int mask = (1 << ((7 - i) & 7));    		if ((bits[bytes] & mask) != (other.bits[bytes] & mask))    			return false;    	}    	return true;    }