From 4fe7ea4fbdc0c45f14d1d8de77e3424f826ba909 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 28 六月 2024 21:39:12 +0800
Subject: [PATCH] 1、靳总协议上行数据处理修改完善; 2、上行数据处理任务修改完善.

---
 pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/util/ByteUtil.java |  412 +++++++++++++++++++++++++++++++++-------------------------
 1 files changed, 237 insertions(+), 175 deletions(-)

diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/util/ByteUtil.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/util/ByteUtil.java
index 7f561f1..f3f8dfc 100644
--- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/util/ByteUtil.java
+++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/util/ByteUtil.java
@@ -33,9 +33,8 @@
 	 * @param index 涓嬫爣浣�
 	 * @param len 闀垮害
 	 * @return 杩斿洖 杩斿洖
-	 * @throws Exception 寮傚父
 	 */
-	public static boolean bytesIsAll0xFF(byte[] bs, int index, int len)throws Exception {
+	public static boolean bytesIsAll0xFF(byte[] bs, int index, int len){
 		int count = 0 ;
 		for(int i = index; i < index + len; i++){
 			if(bs[i] == (byte)0xFF){
@@ -47,26 +46,11 @@
 
 	/**
 	 * 浜岃繘鍒惰浆鍗佽繘鍒舵暟
-	 * @param str
+	 * @param str 浜岃繘鍒跺瓧绗︿覆
 	 * @return 杩斿洖
-	 * @throws Exception 寮傚父
 	 */
-	public static int binary2Int(String str) throws Exception {
-        int cnt=0;
-        int sum=0;
-        str=new StringBuilder(str).reverse().toString();//鍙嶈浆瀛楃涓�
-        for(int i=0;i<str.length();i++){
-            cnt++;
-            if (str.charAt(i)=='1'){
-                int mul=1;
-                for (int j=1;j<cnt;j++){
-                    mul*=2;
-                }
-                sum+=mul;
-            }
-            else continue;
-        }
-        return sum;
+	public static int binary2Int(String str) {
+		return Integer.parseInt(str, 2);
     }
 
 
@@ -74,26 +58,18 @@
 	 * 瀛楄妭杞瓨浜岃繘鍒�
 	 *
 	 * @param b byte
-	 * @throws Exception 寮傚父
 	 * @return 杩斿洖 String
 	 */
-	public static String byte2Binary(byte b) throws Exception {
-		int n = (b + 256) % 256 + 256;
-		try {
-			return Integer.toBinaryString(n).substring(1);
-		} catch (Exception e) {
-			throw new Exception("瀛楄妭杞崲鎴愪簩杩涘埗鐨勫瓧绗︿覆鍑洪敊锛�", null);
-		}
+	public static String byte2Binary(byte b) {
+		return Integer.toBinaryString(b & 0xFF) ;
 	}
 	/**
 	 * 瀛楄妭杞瓨8浣嶄簩杩涘埗
 	 *
-	 * @param b
-	 *            byte
-	 * @throws Exception 寮傚父
+	 * @param b  byte
 	 * @return 杩斿洖 String
 	 */
-	public static String byte2bit8Binary(byte b) throws Exception {
+	public static String byte2bit8Binary(byte b) {
 		String s = byte2Binary(b);
 		int len = s.length();
 		for (int i = 0; i < 8 - len; i++) {
@@ -103,13 +79,11 @@
 	}
 
 	/**
-	 * 瀛楄妭鍙朾it
-	 * @param b
-	 * @param b
-	 * @throws Exception 寮傚父
+	 * 瀛楄妭鏁� 鍙栧嚭8涓猙it
+	 * @param b 瀛楄妭鏁�
 	 * @return 杩斿洖 String
 	 */
-	public static byte[] getBit(byte b) throws Exception {
+	public static byte[] getBit(byte b) {
 		byte[] bs = new byte[8] ;
 		bs[0] = (byte)(b & 1) ;
 		bs[1] = (byte)((b & 2) >> 1) ;
@@ -123,8 +97,8 @@
 	}
 
 	/**
-	 * 瀛楄妭鍙朾it
-	 * @param b
+	 * 瀛楄妭鏁� 鍙栧嚭bit
+	 * @param b 瀛楄妭鏁�
 	 * @param index 涓嬫爣浣�
 	 * @throws Exception 寮傚父
 	 * @return 杩斿洖 String
@@ -178,8 +152,7 @@
 	public static void double2Bytes_BE(byte[] bs, double value, int from)throws Exception {
 		boolean b = isOutOfArrLength(bs.length, (from - 1) + 8);
 		if (b) {
-			Long l = Double.doubleToLongBits(value);
-			long2Bytes_BE(bs, l, from);
+			long2Bytes_BE(bs, Double.doubleToLongBits(value), from);
 		} else {
 			throw new Exception("double2Bytes鏃舵暟缁勮秺鐣�");
 		}
@@ -195,8 +168,7 @@
 	public static void double2Bytes_LE(byte[] bs, double value, int from)throws Exception {
 		boolean b = isOutOfArrLength(bs.length, (from - 1) + 8);
 		if (b) {
-			Long l = Double.doubleToLongBits(value);
-			long2Bytes_LE(bs, l, from);
+			long2Bytes_LE(bs, Double.doubleToLongBits(value), from);
 		} else {
 			throw new Exception("double2Bytes鏃舵暟缁勮秺鐣�");
 		}
@@ -338,7 +310,7 @@
 			long l = 0;
 			long[] ls = new long[len] ;
 			for(int i = 0 ; i < len; i++){
-				ls[i] = bs[i] ;
+				ls[i] = bs[i] & 0xFF ;
 			}
 			for(int i = len-1 ; i >= 0; i--){
 				ls[(len - 1) - i] <<= 8 * i ;
@@ -362,14 +334,14 @@
 		boolean b = isOutOfArrLength(bs.length, (from - 1) + 8);
 		if (b) {
 			long s = 0;
-			long s0 = bs[from + 0] ;// 鏈�浣庝綅
-			long s1 = bs[from + 1] ;
-			long s2 = bs[from + 2] ;
-			long s3 = bs[from + 3] ;
-			long s4 = bs[from + 4] ;
-			long s5 = bs[from + 5] ;
-			long s6 = bs[from + 6] ;
-			long s7 = bs[from + 7] ;
+			long s0 = bs[from + 0] & 0xFF ;// 鏈�浣庝綅
+			long s1 = bs[from + 1] & 0xFF ;
+			long s2 = bs[from + 2] & 0xFF ;
+			long s3 = bs[from + 3] & 0xFF ;
+			long s4 = bs[from + 4] & 0xFF ;
+			long s5 = bs[from + 5] & 0xFF ;
+			long s6 = bs[from + 6] & 0xFF ;
+			long s7 = bs[from + 7] & 0xFF ;
 
 			// s7涓嶅彉
 			s6 <<= 8;
@@ -399,7 +371,7 @@
 			short len = (short)(end - from + 1) ;
 			long[] ls = new long[len] ;
 			for(short i = 0 ; i < len; i++){
-				ls[i] = bs[from + i] ;
+				ls[i] = bs[from + i] & 0xFF ;
 			}
 			for(short i = (short)(len-1) ; i >= 0; i--){
 				ls[i] <<= 8 * (len - (i + 1)) ;
@@ -428,7 +400,7 @@
 			long l = 0;
 			long[] ls = new long[len] ;
 			for(int i = 0 ; i < len; i++){
-				ls[i] = bs[i] ;
+				ls[i] = bs[i] & 0xFF ;
 			}
 			for(int i = 0 ; i < len; i++){
 				ls[(len - 1) - i] <<= 8 * i ;
@@ -452,14 +424,14 @@
 		boolean b = isOutOfArrLength(bs.length, (from - 1) + 8);
 		if (b) {
 			long s = 0;
-			long s0 = bs[from + 0] ;// 鏈�浣庝綅
-			long s1 = bs[from + 1] ;
-			long s2 = bs[from + 2] ;
-			long s3 = bs[from + 3] ;
-			long s4 = bs[from + 4] ;
-			long s5 = bs[from + 5] ;
-			long s6 = bs[from + 6] ;
-			long s7 = bs[from + 7] ;
+			long s0 = bs[from] & 0xFF ;// 鏈�浣庝綅
+			long s1 = bs[from + 1] & 0xFF ;
+			long s2 = bs[from + 2] & 0xFF ;
+			long s3 = bs[from + 3] & 0xFF ;
+			long s4 = bs[from + 4] & 0xFF ;
+			long s5 = bs[from + 5] & 0xFF ;
+			long s6 = bs[from + 6] & 0xFF ;
+			long s7 = bs[from + 7] & 0xFF ;
 
 			// s0涓嶅彉
 			s1 <<= 8;
@@ -490,7 +462,7 @@
 			short len = (short)(end - from + 1) ;
 			long[] ls = new long[len] ;
 			for(short i = 0 ; i < len; i++){
-				ls[i] = bs[from + i] ;
+				ls[i] = bs[from + i] & 0xFF ;
 			}
 			for(short i = 0 ; i < len; i++){
 				ls[i] <<= 8 * i ;
@@ -559,10 +531,10 @@
 		boolean b = isOutOfArrLength(bs.length, (from - 1) + 4);
 		if (b) {
 			int s = 0;
-			int s0 = bs[from + 0] ;// 鏈�浣庝綅
-			int s1 = bs[from + 1] ;
-			int s2 = bs[from + 2] ;
-			int s3 = bs[from + 3] ;
+			int s0 = bs[from + 0] & 0xFF ;// 鏈�浣庝綅
+			int s1 = bs[from + 1] & 0xFF ;
+			int s2 = bs[from + 2] & 0xFF ;
+			int s3 = bs[from + 3] & 0xFF ;
 
 			// s3涓嶅彉
 			s2 <<= 8;
@@ -586,10 +558,10 @@
 		boolean b = isOutOfArrLength(bs.length, (from - 1) + 4);
 		if (b) {
 			int s = 0;
-			int s0 = bs[from + 0] ;// 鏈�浣庝綅
-			int s1 = bs[from + 1] ;
-			int s2 = bs[from + 2] ;
-			int s3 = bs[from + 3] ;
+			int s0 = bs[from + 0] & 0xFF ;// 鏈�浣庝綅
+			int s1 = bs[from + 1] & 0xFF ;
+			int s2 = bs[from + 2] & 0xFF ;
+			int s3 = bs[from + 3] & 0xFF ;
 
 			// s0涓嶅彉
 			s1 <<= 8;
@@ -682,8 +654,8 @@
 		boolean b = isOutOfArrLength(bs.length, (from - 1) + 2);
 		if (b) {
 			int s = 0;
-			int s0 = bs[from + 0] ;
-			int s1 = bs[from + 1] ;
+			int s0 = bs[from + 0] & 0xFF ;
+			int s1 = bs[from + 1] & 0xFF ;
 
 			// s1涓嶅彉
 			s0 <<= 8;
@@ -705,8 +677,8 @@
 		boolean b = isOutOfArrLength(bs.length, (from - 1) + 2);
 		if (b) {
 			int s = 0;
-			int s0 = bs[from + 0] ;
-			int s1 = bs[from + 1] ;
+			int s0 = bs[from + 0] & 0xFF ;
+			int s1 = bs[from + 1] & 0xFF ;
 
 			// s0涓嶅彉
 			s1 <<= 8;
@@ -920,47 +892,107 @@
 	 * @return 杩斿洖 String
 	 */
 	public static String bytes2Hex(byte[] src, boolean hasBlank){
-	    StringBuilder stringBuilder = new StringBuilder("");
-	    if (src == null || src.length <= 0) {
-	        return null;
-	    }
-	    for (int i = 0; i < src.length; i++) {
-	        int v = src[i] & 0xFF;
-	        String str = Integer.toHexString(v);
-	        if (str.length() < 2) {
-	        	str = "0" + str;
-	        }
-			if (hasBlank) {
-				if (i == 0) {
-					stringBuilder.append(str);
-				} else {
-					stringBuilder.append(" " + str);
-				}
-			} else {
-				stringBuilder.append(str);
-			}
-	    }
-	    return stringBuilder.toString().toUpperCase(Locale.US);
+	    return bytes2Hex_BE(src, hasBlank) ;
 	}
+
+    /**
+     * 瀛楄妭鏁扮粍杞崲鎴愬崄鍏繘鍒剁殑瀛楃涓�
+     *
+     * @param src byte[]
+     * @param hasBlank 16杩涘埗鏄惁鐢ㄧ┖鏍煎垎闅�
+     * @return 杩斿洖 String
+     */
+    public static String bytes2Hex_BE(byte[] src, boolean hasBlank){
+        StringBuilder stringBuilder = new StringBuilder("");
+        if (src == null || src.length <= 0) {
+            return null;
+        }
+        for (int i = 0; i < src.length; i++) {
+            int v = src[i] & 0xFF;
+            String str = Integer.toHexString(v);
+            if (str.length() < 2) {
+                str = "0" + str;
+            }
+            if (hasBlank) {
+                if (i == 0) {
+                    stringBuilder.append(str);
+                } else {
+                    stringBuilder.append(" " + str);
+                }
+            } else {
+                stringBuilder.append(str);
+            }
+        }
+        return stringBuilder.toString().toUpperCase(Locale.US);
+    }
+    /**
+     * 瀛楄妭鏁扮粍杞崲鎴愬崄鍏繘鍒剁殑瀛楃涓�
+     *
+     * @param src byte[]
+     * @param hasBlank 16杩涘埗鏄惁鐢ㄧ┖鏍煎垎闅�
+     * @return 杩斿洖 String
+     */
+    public static String bytes2Hex_LE(byte[] src, boolean hasBlank){
+        StringBuilder stringBuilder = new StringBuilder("");
+        if (src == null || src.length <= 0) {
+            return null;
+        }
+        for (int i = src.length - 1 ; i >= 0; i--) {
+            int v = src[i] & 0xFF;
+            String str = Integer.toHexString(v);
+            if (str.length() < 2) {
+                str = "0" + str;
+            }
+            if (hasBlank) {
+                if (i == 0) {
+                    stringBuilder.append(str);
+                } else {
+                    stringBuilder.append(" " + str);
+                }
+            } else {
+                stringBuilder.append(str);
+            }
+        }
+        return stringBuilder.toString().toUpperCase(Locale.US);
+    }
 	/**
 	 * 瀛楄妭鏁扮粍杞崲鎴愬崄鍏繘鍒剁殑瀛楃涓�
 	 *
-	 * @param src byte[]
+	 * @param bs byte[]
 	 * @param hasBlank 16杩涘埗鏄惁鐢ㄧ┖鏍煎垎闅�
 	 * @param from 寮�濮嬩綅
 	 * @param len 闀垮害
 	 * @return 杩斿洖 String
 	 */
-	public static String bytes2Hex(byte[] src, boolean hasBlank, int from, int len){
-	    if (src == null || src.length <= 0 || src.length < from + len) {
+	public static String bytes2Hex(byte[] bs, boolean hasBlank, int from, int len){
+	    if (bs == null || bs.length <= 0 || bs.length < from + len) {
 	        return null;
 	    }
 		byte[] bb = new byte[len];
 		for (int i = 0 ; i < len; i++) {
-			bb[i] = src[from + i];
+			bb[i] = bs[from + i];
 		}
 	    return bytes2Hex(bb, hasBlank) ;
 	}
+    /**
+     * 瀛楄妭鏁扮粍杞崲鎴愬崄鍏繘鍒剁殑瀛楃涓�
+     *
+     * @param bs byte[]
+     * @param hasBlank 16杩涘埗鏄惁鐢ㄧ┖鏍煎垎闅�
+     * @param from 寮�濮嬩綅
+     * @param len 闀垮害
+     * @return 杩斿洖 String
+     */
+    public static String bytes2Hex_LE(byte[] bs, boolean hasBlank, int from, int len){
+        if (bs == null || bs.length <= 0 || bs.length < from + len) {
+            return null;
+        }
+        byte[] bb = new byte[len];
+        for (int i = 0 ; i < len; i++) {
+            bb[i] = bs[from + i];
+        }
+        return bytes2Hex_LE(bb, hasBlank) ;
+    }
 	/**
 	 * 鍗佸叚杩涘埗杞瓧鑺傛暟缁�
 	 * @param hex the hex string
@@ -1004,77 +1036,106 @@
 	}
 
 	private static final char[] HEX_CHAR = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
-	/**
-	 * 灏哹yte[]杞崲涓�16杩涘埗瀛楃涓�
-	 *
-	 * @param bytes 寰呰浆鎹yte[]
-	 * @return 杩斿洖 杞崲鍚庣殑瀛楃涓�
-	 */
-	public static String bytesToHex(byte[] bytes) {
-		//涓�涓猙yte涓�8浣嶏紝鍙敤涓や釜鍗佸叚杩涘埗浣嶆爣璇�
-		char[] buf = new char[bytes.length * 2];
-		int a = 0;
-		int index = 0;
-		for (byte b : bytes) { // 浣跨敤闄や笌鍙栦綑杩涜杞崲
-			if (b < 0) {
-				a = 256 + b;
-			} else {
-				a = b;
-			}
-
-			buf[index++] = HEX_CHAR[a / 16];
-			buf[index++] = HEX_CHAR[a % 16];
-		}
-		return new String(buf);
-	}
-	/**
-	 * 灏哹yte[]杞崲涓�16杩涘埗瀛楃涓�
-	 *
-	 * @param bytes 寰呰浆鎹yte[]
-	 * @return 杩斿洖 杞崲鍚庣殑瀛楃涓�
-	 */
-	public static String bytesToHex(byte[] bytes, int startIndex, int endIndex) {
-		byte[] bs = new byte[endIndex - startIndex + 1] ;
-		byte j = 0 ;
-		for(int i = startIndex; i <= endIndex; i++){
-			bs[j++] = bytes[i] ;
-		}
-		//涓�涓猙yte涓�8浣嶏紝鍙敤涓や釜鍗佸叚杩涘埗浣嶆爣璇�
-		char[] buf = new char[bs.length * 2];
-		int a = 0;
-		int index = 0;
-		for (byte b : bs) { // 浣跨敤闄や笌鍙栦綑杩涜杞崲
-			if (b < 0) {
-				a = 256 + b;
-			} else {
-				a = b;
-			}
-
-			buf[index++] = HEX_CHAR[a / 16];
-			buf[index++] = HEX_CHAR[a % 16];
-		}
-		return new String(buf);
-	}
-
-	/**
-	 * 灏�16杩涘埗瀛楃涓茶浆鎹负byte[]
-	 *
-	 * @param str 寰呰浆鎹㈠瓧绗︿覆
-	 * @return 杩斿洖 杞崲鍚庣殑byte[]
-	 */
-	public static byte[] hexToBytes(String str) {
-		if (str == null || "".equals(str.trim())) {
-			return new byte[0];
-		}
-
-		byte[] bytes = new byte[str.length() / 2];
-		for (int i = 0; i < str.length() / 2; i++) {
-			String subStr = str.substring(i * 2, i * 2 + 2);
-			bytes[i] = (byte) Integer.parseInt(subStr, 16);
-		}
-
-		return bytes;
-	}
+//	/**
+//	 * 灏哹yte[]杞崲涓�16杩涘埗瀛楃涓�
+//	 *
+//	 * @param bytes 寰呰浆鎹yte[]
+//	 * @return 杩斿洖 杞崲鍚庣殑瀛楃涓�
+//	 */
+//	public static String bytesToHex(byte[] bytes) {
+//		//涓�涓猙yte涓�8浣嶏紝鍙敤涓や釜鍗佸叚杩涘埗浣嶆爣璇�
+//		char[] buf = new char[bytes.length * 2];
+//		int a = 0;
+//		int index = 0;
+//		for (byte b : bytes) { // 浣跨敤闄や笌鍙栦綑杩涜杞崲
+//			if (b < 0) {
+//				a = 256 + b;
+//			} else {
+//				a = b;
+//			}
+//
+//			buf[index++] = HEX_CHAR[a / 16];
+//			buf[index++] = HEX_CHAR[a % 16];
+//		}
+//		return new String(buf);
+//	}
+//	/**
+//	 * 灏哹yte[]杞崲涓�16杩涘埗瀛楃涓�
+//	 *
+//	 * @param bytes 寰呰浆鎹yte[]
+//	 * @return 杩斿洖 杞崲鍚庣殑瀛楃涓�
+//	 */
+//	public static String bytesToHex_BE(byte[] bytes, int startIndex, int endIndex) {
+//		byte[] bs = new byte[endIndex - startIndex + 1] ;
+//		byte j = 0 ;
+//		for(int i = startIndex; i <= endIndex; i++){
+//			bs[j++] = bytes[i] ;
+//		}
+//		//涓�涓猙yte涓�8浣嶏紝鍙敤涓や釜鍗佸叚杩涘埗浣嶆爣璇�
+//		char[] buf = new char[bs.length * 2];
+//		int a = 0;
+//		int index = 0;
+//		for (byte b : bs) { // 浣跨敤闄や笌鍙栦綑杩涜杞崲
+//			if (b < 0) {
+//				a = 256 + b;
+//			} else {
+//				a = b;
+//			}
+//
+//			buf[index++] = HEX_CHAR[a / 16];
+//			buf[index++] = HEX_CHAR[a % 16];
+//		}
+//		return new String(buf);
+//	}
+//
+//    /**
+//     * 灏哹yte[]杞崲涓�16杩涘埗瀛楃涓�
+//     *
+//     * @param bytes 寰呰浆鎹yte[]
+//     * @return 杩斿洖 杞崲鍚庣殑瀛楃涓�
+//     */
+//    public static String bytesToHex_LE(byte[] bytes, int startIndex, int endIndex) {
+//        byte[] bs = new byte[endIndex - startIndex + 1] ;
+//        byte j = 0 ;
+//        for(int i = endIndex; i >= startIndex; i--){
+//            bs[j++] = bytes[i] ;
+//        }
+//        //涓�涓猙yte涓�8浣嶏紝鍙敤涓や釜鍗佸叚杩涘埗浣嶆爣璇�
+//        char[] buf = new char[bs.length * 2];
+//        int a = 0;
+//        int index = 0;
+//        for (byte b : bs) { // 浣跨敤闄や笌鍙栦綑杩涜杞崲
+//            if (b < 0) {
+//                a = 256 + b;
+//            } else {
+//                a = b;
+//            }
+//
+//            buf[index++] = HEX_CHAR[a / 16];
+//            buf[index++] = HEX_CHAR[a % 16];
+//        }
+//        return new String(buf);
+//    }
+//
+//	/**
+//	 * 灏�16杩涘埗瀛楃涓茶浆鎹负byte[]
+//	 *
+//	 * @param str 寰呰浆鎹㈠瓧绗︿覆
+//	 * @return 杩斿洖 杞崲鍚庣殑byte[]
+//	 */
+//	public static byte[] hexToBytes(String str) {
+//		if (str == null || "".equals(str.trim())) {
+//			return new byte[0];
+//		}
+//
+//		byte[] bytes = new byte[str.length() / 2];
+//		for (int i = 0; i < str.length() / 2; i++) {
+//			String subStr = str.substring(i * 2, i * 2 + 2);
+//			bytes[i] = (byte) Integer.parseInt(subStr, 16);
+//		}
+//
+//		return bytes;
+//	}
 
 	/**
 	 * Convert char to byte
@@ -1223,7 +1284,7 @@
 	}
 
 	/**
-	 * 澶х妯″紡銆婃暟鎹綆浣嶅湪鏁扮粍楂樺瓧鑺傘��
+	 * 灏忕妯″紡銆婃暟鎹綆浣嶅湪鏁扮粍楂樺瓧鑺傘��
 	 * 瀛楃涓茶浆鎹㈡垚byte鏁扮粍
 	 * @value bs byte[]
 	 * @value str String
@@ -1334,8 +1395,7 @@
 	public static long BCD2Long_LE(byte[] b, int startIndex, int endIndex)throws Exception {
 		String str = "";
 		str = decodeBCD_LE(b, startIndex, endIndex - startIndex + 1);
-		long n = Long.parseLong(str);
-		return n;
+        return Long.parseLong(str);
 	}
 
 	/**
@@ -1486,6 +1546,7 @@
 //		System.out.println(v5);
 //
 //	}
+	/*
 	public static void main(String[] args) throws Exception {
 		byte[] bs = new byte[]{0x38, 0x36, 0x39, 0x31} ; 
 		String s = bytes2String_BE(bs, 0, 3) ;
@@ -1499,5 +1560,6 @@
 		}
 		System.out.println(v);
 	}
-	
+	*/
+
 }

--
Gitblit v1.8.0