--- /dev/null
+// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
+// Jad home page: http://www.kpdus.com/jad.html
+// Decompiler options: packimports(3) fieldsfirst nonlb space
+
+package mcsClient;
+
+
+public class HexConversion {
+
+ static String stringArray[] = {
+ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
+ "A", "B", "C", "D", "E", "F"
+ };
+
+ public HexConversion() {
+ }
+
+ public static String toString(int i) {
+ if (i < 0) {
+ i = ~i + 1;
+ i = 256 - i;
+ }
+ return stringArray[i / 16] + stringArray[i % 16];
+ }
+
+ public static String toString(byte abyte0[], int i, int j) {
+ StringBuffer stringbuffer = new StringBuffer();
+ while (j-- > 0)
+ stringbuffer.append(toString(abyte0[i++]));
+ return stringbuffer.toString();
+ }
+
+}