private static IllegalArgumentException illegalVarintException(int value) {
        throw new IllegalArgumentException("Varint is too long, the most significant bit in the 5th byte is set, " +
                "converted value: " + Integer.toHexString(value));
    }
Number of bytes needed to encode a long in variable-length format.

@param value The signed value
@see #sizeOfUnsignedVarint(int)
clients/src/main/java/org/apache/kafka/common/utils/ByteUtils.java