Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1932:2d46e378960d | 1933:ff11ba08e5d0 |
---|---|
64 const std::string& source); | 64 const std::string& source); |
65 | 65 |
66 void ReadFile(std::string& content, | 66 void ReadFile(std::string& content, |
67 const std::string& path); | 67 const std::string& path); |
68 | 68 |
69 bool ReadHeader(std::string& header, | |
70 const std::string& path, | |
71 size_t headerSize); | |
72 | |
69 void WriteFile(const std::string& content, | 73 void WriteFile(const std::string& content, |
70 const std::string& path); | 74 const std::string& path); |
71 | 75 |
72 void WriteFile(const void* content, | 76 void WriteFile(const void* content, |
73 size_t size, | 77 size_t size, |