public static String hex(Object v) {
        if (!(v instanceof Number)) {
            return String.valueOf(v);
        }
        Number n = (Number) v;
        return String.format("%08x", n.intValue());
    }
@author Nico Bergemann <barracuda415 at yahoo.de>
disunity-cli/src/main/java/info/ata4/disunity/cli/util/Formatters.java