public static String toHexString(byte b) {
        return zeropad(Integer.toHexString(byteToInt(b)), 2);
    }
Converts a byte into a padded hex string.
@param b the byte
@return the padded hex string
GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GConv.java