diff options
Diffstat (limited to 'src/serialization.h')
-rw-r--r-- | src/serialization.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialization.h b/src/serialization.h index 7f8b83382..f399983c4 100644 --- a/src/serialization.h +++ b/src/serialization.h @@ -87,7 +87,7 @@ inline bool ser_ver_supported(s32 v) { void compressZlib(const u8 *data, size_t data_size, std::ostream &os, int level = -1); void compressZlib(const std::string &data, std::ostream &os, int level = -1); -void decompressZlib(std::istream &is, std::ostream &os); +void decompressZlib(std::istream &is, std::ostream &os, size_t limit = 0); // These choose between zlib and a self-made one according to version void compress(const SharedBuffer<u8> &data, std::ostream &os, u8 version); |