public void encodeNoisyNumber(int value, final int noisybits) {
        if (value < 0) {
            throw new IllegalArgumentException("encodeVarBits expects positive value");
        }
        if (noisybits > 0) {
            final int mask = 0xffffffff >>> (32 - noisybits);
            encodeBounded(mask, value & mask);
            value >>= noisybits;
        }
        encodeVarBits(value);
    }
encode an unsigned integer with some of of least significant bits
considered noisy

@see #decodeNoisyNumber
main/src/main/java/cgeo/geocaching/brouter/codec/StatCoderContext.java