if(debug>=2) {System.out.print("Utilities.getLongFromDataInputStream("+
if(debug>=4) {System.out.print("Utilities.getLongFromDataInputStream("+
  static public long getLongFromDataInputStream(DataInputStream dis)  {    long value = 0;    byte b[] = new byte[8];    try {      dis.readFully(b);    } catch (EOFException e) {      if (debug>=3)         System.out.println("***Utilities.getLongFromDataInputStream() EOF exception!***");      return EOF_int;    }catch (IOException e) {      System.out.println("***Utilities.getLongFromDataInputStream() IO exception!***");      new Exception().printStackTrace();      System.exit(-1);    }    if(debug>=2) {System.out.print("Utilities.getLongFromDataInputStream("+                                   b[0]+" "+b[1]+" "+b[2]+" "+b[3]+" "+b[4]+" "+b[5]+" "+b[6]+" "+b[7]+") ");}    if (TraceHeader.isLittleEndian()) {      value = (long)	(((int)(b[7] << 56))&0xFF00000000000000L) + 	(((int)(b[6] << 48))&0x00FF000000000000L) +	(((int)(b[5] << 40))&0x0000FF0000000000L) + 	(((int)(b[4] << 32))&0x000000FF00000000L) + 	(((int)(b[3] << 24))&0x00000000FF000000L) + 	(((int)(b[2] << 16))&0x0000000000FF0000L) + 	(((int)(b[1] <<  8))&0x000000000000FF00L) + 	(((int)(b[0]      ))&0x00000000000000FFL);      if(debug>=2) {System.out.print(value+" little-endian\n");}    } else {      value = (long)	(((int)(b[0] << 56))&0xFF00000000000000L) + 	(((int)(b[1] << 48))&0x00FF000000000000L) +	(((int)(b[2] << 40))&0x0000FF0000000000L) + 	(((int)(b[3] << 32))&0x000000FF00000000L) + 	(((int)(b[4] << 24))&0x00000000FF000000L) + 	(((int)(b[5] << 16))&0x0000000000FF0000L) + 	(((int)(b[6] <<  8))&0x000000000000FF00L) + 	(((int)(b[7]      ))&0x00000000000000FFL);      if(debug>=2) {System.out.print(value+" big-endian (default)\n");}    }        return value;  }