X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2Finternal%2Fio%2FBgzfStream_p.h;h=a386c1a3a8f7863cb4d40edb26276bcd4cd5a307;hb=8a5d6508d8fc52b25c9129037e44cc448bafebc7;hp=47b360904740420ff919748a07fdf09756c6e111;hpb=8077f86ef52bfb08c17430b797c737d217d41cf3;p=bamtools.git diff --git a/src/api/internal/io/BgzfStream_p.h b/src/api/internal/io/BgzfStream_p.h index 47b3609..a386c1a 100644 --- a/src/api/internal/io/BgzfStream_p.h +++ b/src/api/internal/io/BgzfStream_p.h @@ -2,7 +2,7 @@ // BgzfStream_p.h (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- -// Last modified: 25 October 2011(DB) +// Last modified: 17 January 2012(DB) // --------------------------------------------------------------------------- // Based on BGZF routines developed at the Broad Institute. // Provides the basic functionality for reading & writing BGZF files @@ -61,7 +61,7 @@ class BgzfStream { // internal methods private: // compresses the current block - size_t DeflateBlock(void); + size_t DeflateBlock(int32_t blockLength); // flushes the data in the BGZF block void FlushBlock(void); // de-compresses the current block @@ -76,9 +76,9 @@ class BgzfStream { // data members public: - unsigned int m_blockLength; - unsigned int m_blockOffset; - uint64_t m_blockAddress; + int32_t m_blockLength; + int32_t m_blockOffset; + int64_t m_blockAddress; bool m_isWriteCompressed; IBamIODevice* m_device;