]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/internal/BgzfStream_p.h
Minor cleanup
[bamtools.git] / src / api / internal / BgzfStream_p.h
index 69473e6af01ee7eae01666a264b69159022d43c0..838f30cde3f2f2a163fa72cd2852ea00315a4887 100644 (file)
@@ -1,9 +1,8 @@
 // ***************************************************************************
 // BgzfStream_p.h (c) 2011 Derek Barnett
 // Marth Lab, Department of Biology, Boston College
-// All rights reserved.
 // ---------------------------------------------------------------------------
-// Last modified: 24 February 2011(DB)
+// Last modified: 5 April 2011(DB)
 // ---------------------------------------------------------------------------
 // Based on BGZF routines developed at the Broad Institute.
 // Provides the basic functionality for reading & writing BGZF files
@@ -48,11 +47,11 @@ class BgzfStream {
         // reads BGZF data into a byte buffer
         int Read(char* data, const unsigned int dataLength);
         // seek to position in BGZF file
-        bool Seek(int64_t position);
+        bool Seek(const int64_t& position);
         // enable/disable compressed output
         void SetWriteCompressed(bool ok);
         // get file position in BGZF file
-        int64_t Tell(void);
+        int64_t Tell(void) const;
         // writes the supplied data into the BGZF buffer
         unsigned int Write(const char* data, const unsigned int dataLen);