public static String shortToHex(int value) {StringBuilder sb = new StringBuilder(6);writeHex(sb, value & 0xFFFFL, 4, "0x");return sb.toString();}

public static char[] ShortToHex(int value){return ToHexChars(value, 2);}
