diff OrthancFramework/Sources/FileStorage/IStorageArea.h @ 4495:fa2311f94d9f

IStorageArea::ReadRange()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Feb 2021 18:01:07 +0100
parents 64f06e7d5fc7
children 10357b2f7150
line wrap: on
line diff
--- a/OrthancFramework/Sources/FileStorage/IStorageArea.h	Thu Feb 04 15:31:00 2021 +0100
+++ b/OrthancFramework/Sources/FileStorage/IStorageArea.h	Thu Feb 04 18:01:07 2021 +0100
@@ -44,6 +44,11 @@
     virtual IMemoryBuffer* Read(const std::string& uuid,
                                 FileContentType type) = 0;
 
+    virtual IMemoryBuffer* ReadRange(const std::string& uuid,
+                                     FileContentType type,
+                                     uint64_t start /* inclusive */,
+                                     uint64_t end /* exclusive */) = 0;
+
     virtual void Remove(const std::string& uuid,
                         FileContentType type) = 0;
   };