Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Compression/ZlibCompressor.cpp @ 4296:3b70a2e6a06c
moving inline methods to source files for ABI compatibility
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 15:52:28 +0100 |
parents | bf7b9edf6b81 |
children | 785a2713323e |
comparison
equal
deleted
inserted
replaced
4295:90f91b78d708 | 4296:3b70a2e6a06c |
---|---|
30 #include <string.h> | 30 #include <string.h> |
31 #include <zlib.h> | 31 #include <zlib.h> |
32 | 32 |
33 namespace Orthanc | 33 namespace Orthanc |
34 { | 34 { |
35 Orthanc::ZlibCompressor::ZlibCompressor() | |
36 { | |
37 SetPrefixWithUncompressedSize(true); | |
38 } | |
39 | |
35 void ZlibCompressor::Compress(std::string& compressed, | 40 void ZlibCompressor::Compress(std::string& compressed, |
36 const void* uncompressed, | 41 const void* uncompressed, |
37 size_t uncompressedSize) | 42 size_t uncompressedSize) |
38 { | 43 { |
39 if (uncompressedSize == 0) | 44 if (uncompressedSize == 0) |