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

SystemToolbox::ReadFileRange()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Dec 2020 18:48:06 +0100
parents 50b0c69b653a
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/TemporaryFile.cpp	Thu Dec 03 18:15:47 2020 +0100
+++ b/OrthancFramework/Sources/TemporaryFile.cpp	Thu Dec 03 18:48:06 2020 +0100
@@ -138,4 +138,13 @@
   {
     return SystemToolbox::GetFileSize(path_);
   }
+
+
+  void TemporaryFile::ReadRange(std::string& content,
+                                uint64_t start,
+                                uint64_t end,
+                                bool throwIfOverflow) const
+  {
+    SystemToolbox::ReadFileRange(content, path_, start, end, throwIfOverflow);
+  }
 }