diff Common/IStoragePlugin.h @ 39:50d0be413c42

implemented ReadRange (only in Azure plugin right now)
author Alain Mazy <am@osimis.io>
date Wed, 17 Mar 2021 16:02:53 +0100
parents f55b2afdf53d
children b922ae86bbe1
line wrap: on
line diff
--- a/Common/IStoragePlugin.h	Wed Jan 20 12:35:23 2021 +0100
+++ b/Common/IStoragePlugin.h	Wed Mar 17 16:02:53 2021 +0100
@@ -62,7 +62,8 @@
 
     virtual ~IReader() {}
     virtual size_t GetSize() = 0;
-    virtual void Read(char* data, size_t size) = 0;
+    virtual void ReadWhole(char* data, size_t size) = 0;
+    virtual void ReadRange(char* data, size_t size, size_t fromOffset) = 0;
   };
 
 public: