src/inc/bbiFile.h 1.22

1.22 2010/04/06 23:41:50 kent
Adding extra sig for detection of truncation at end of file.
Index: src/inc/bbiFile.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/bbiFile.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -b -B -U 4 -r1.21 -r1.22
--- src/inc/bbiFile.h	6 Apr 2010 23:06:29 -0000	1.21
+++ src/inc/bbiFile.h	6 Apr 2010 23:41:50 -0000	1.22
@@ -48,8 +48,9 @@
  *                 maxVal       4 bytes float
  *                 sumData      4 bytes float
  *                 sumSquares   4 bytes float
  *         zoom index        	cirTree index
+ *     magic# 		4 bytes - same as magic number at start of header
  */
 
 #ifndef CIRTREE_H
 #include "cirTree.h"
@@ -66,8 +67,9 @@
  *        zoom in files made by bedToBigBed and bedGraphToBigWig.  (The older wigToBigWig was fine.)
  *        Added totalSummary section.
  *    3 - Adding zlib compression.  Only active if uncompressBufSize is non-zero in header.
  *    4 - Fixed problem in encoder for the max field in zoom levels higher than the first one.
+ *        Added an extra sig at end of file.
  */
 
 struct bbiZoomLevel
 /* A zoom level in bigWig file. */