private int byteToIntLittle( byte[] x, int offset) { return ((x[offset] & 255)) | ((x[offset + 1] & 255) << 8) | ((x[offset + 2] & 255) << 16) | (x[offset + 3] << 24); }