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

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