public static String toHex(byte value) {StringBuilder sb = new StringBuilder(2);writeHex(sb, value & 0xFF, 2, "");return sb.toString();}

public static string ToHex(byte value){return ToHex((long)value, 2);}
