MeshLib C++ Docs
Loading...
Searching...
No Matches
MRZlib.h File Reference
#include "MRMeshFwd.h"
#include "MRExpected.h"
#include <cstdint>
#include <iostream>

Go to the source code of this file.

Classes

struct  MR::ZlibParams
 parameters shared by zlibCompressStream and zlibDecompressStream More...
struct  MR::ZlibCompressStats
struct  MR::ZlibCompressParams
 parameters for zlibCompressStream (adds a compression level on top of ZlibParams) More...

Namespaces

namespace  MR
 only for bindings generation

Functions

Expected< void > MR::zlibCompressStream (std::istream &in, std::ostream &out, const ZlibCompressParams &params)
 compress the input data using the Deflate algorithm
Expected< void > MR::zlibCompressStream (std::istream &in, std::ostream &out, int level=-1)
 compress the input data using the Deflate algorithm (zlib-wrapped, RFC 1950)
Expected< void > MR::zlibDecompressStream (std::istream &in, std::ostream &out, const ZlibParams &params)
 decompress the input data compressed with the Deflate algorithm
Expected< void > MR::zlibDecompressStream (std::istream &in, std::ostream &out)
 decompress the input data compressed with the Deflate algorithm (zlib-wrapped, RFC 1950)