]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/internal/io/BamHttp_p.h
Added generic I/O device to BamIndex side of things
[bamtools.git] / src / api / internal / io / BamHttp_p.h
index c3d9502be67842e70f679cb2af16bde280de117d..fae93024a6067124fece1169b5faff1aa9728d46 100644 (file)
@@ -44,7 +44,7 @@ class BamHttp : public IBamIODevice {
         bool IsRandomAccess(void) const;
         bool Open(const IBamIODevice::OpenMode mode);
         int64_t Read(char* data, const unsigned int numBytes);
-        bool Seek(const int64_t& position);
+        bool Seek(const int64_t& position, const int origin = SEEK_SET);
         int64_t Tell(void) const;
         int64_t Write(const char* data, const unsigned int numBytes);