* @return The string which contains the bytes as strings.
* E.g.: (123) (11) (46) (213) ...
*/
- public static String CharArrayToString (char[] cha) {
- String ret = new String ();
- int i;
- int p;
-
- for (i = 0; i < cha.length; i++) { // For all bytes within the input buffer
- p = (int) cha[i]; // Convert the byte into an integer value
- ret = ret + "(" + String.valueOf (p) + ") "; // Add the value
- }
-
- return ret;
- }
+// public static String CharArrayToString (char[] cha) {
+// String ret = new String ();
+// int i;
+// int p;
+//
+// for (i = 0; i < cha.length; i++) { // For all bytes within the input buffer
+// p = (int) cha[i]; // Convert the byte into an integer value
+// ret = ret + "(" + String.valueOf (p) + ") "; // Add the value
+// }
+//
+// return ret;
+// }
/**
*