public class ArrayUtils { public static boolean arrayIsPartOfOtherArrayOnOffset(byte[] src, byte[] part, int offset) { if(offset<0 || part.length+offset > src.length) return false; for(int i=0; i>> 24), (byte)(value >>> 16), (byte)(value >>> 8), (byte)value}; } public static byte[] unsign(byte[] b) { byte[] u = new byte[b.length]; for(int i=0; i