comparison 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
comparison
equal deleted inserted replaced
4341:977c2759eb0a 4342:52166629239f
136 136
137 uint64_t TemporaryFile::GetFileSize() const 137 uint64_t TemporaryFile::GetFileSize() const
138 { 138 {
139 return SystemToolbox::GetFileSize(path_); 139 return SystemToolbox::GetFileSize(path_);
140 } 140 }
141
142
143 void TemporaryFile::ReadRange(std::string& content,
144 uint64_t start,
145 uint64_t end,
146 bool throwIfOverflow) const
147 {
148 SystemToolbox::ReadFileRange(content, path_, start, end, throwIfOverflow);
149 }
141 } 150 }