public static long readUINT32(RandomAccessFile raf) throws IOException {
  long result=0;
  for (int i=0; i < 4; i++) {
    result<<=8;
    result|=(long)raf.read();
  }
  return result;
}

public static long readUINT32 ( RandomAccessFile raf ) throws IOException { long result = 0 ; for ( int i = 0 ; i < 4 ; i ++ ) { result <<= 8 ; result |= ( long ) raf . read ( ) ; } return result ; }
reads 4 bytes from file and interprets them as uint32 . < br >
