public final void append(boolean bit) {
            // This is effectively similar to the old String code,
            // which kept the extra bits, but would then not match
            // any of the table entries
            if (bit) {
                if (length <= 63) {
                    long mask = (1L << length);
                    value |= mask;
                }
            }
            length++;
        }