Mercurial > hg > orthanc
diff Core/Toolbox.h @ 1933:ff11ba08e5d0
Toolbox::ReadHeader
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Mar 2016 16:47:28 +0100 |
parents | 7a05144cb919 |
children | 4b545a8b1f95 |
line wrap: on
line diff
--- a/Core/Toolbox.h Mon Mar 21 15:21:23 2016 +0100 +++ b/Core/Toolbox.h Mon Mar 21 16:47:28 2016 +0100 @@ -66,6 +66,10 @@ void ReadFile(std::string& content, const std::string& path); + bool ReadHeader(std::string& header, + const std::string& path, + size_t headerSize); + void WriteFile(const std::string& content, const std::string& path);