public static String toHexString(short s) {
        return zeropad(Integer.toHexString(shortToInt(s)), 4);
    }
Consider using {@link String#format(String, Object...) String.format("%04x", s)} instead.
<p>
Converts a short into a padded hex string.

@param s the short
@return the padded hex string
Ghidra/Framework/Generic/src/main/java/ghidra/util/Conv.java