diff OrthancFramework/Sources/TemporaryFile.h @ 4342:52166629239f

SystemToolbox::ReadFileRange()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Dec 2020 18:48:06 +0100
parents b30a8de92ad9
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/TemporaryFile.h	Thu Dec 03 18:15:47 2020 +0100
+++ b/OrthancFramework/Sources/TemporaryFile.h	Thu Dec 03 18:48:06 2020 +0100
@@ -60,5 +60,10 @@
     void Touch();
 
     uint64_t GetFileSize() const;
+
+    void ReadRange(std::string& content,
+                   uint64_t start,
+                   uint64_t end,
+                   bool throwIfOverflow) const;
   };
 }