MeshLib
 
Loading...
Searching...
No Matches
MRZlib.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRExpected.h"
4
5#include <iostream>
6
7namespace MR
8{
9
17MRMESH_API VoidOrErrStr zlibCompressStream( std::istream& in, std::ostream& out, int level = -1 );
18
25MRMESH_API VoidOrErrStr zlibDecompressStream( std::istream& in, std::ostream& out );
26
27} // namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRCameraOrientationPlugin.h:7
MRMESH_API VoidOrErrStr zlibDecompressStream(std::istream &in, std::ostream &out)
MRMESH_API VoidOrErrStr zlibCompressStream(std::istream &in, std::ostream &out, int level=-1)
compress the input data using the Deflate algorithm
Expected< void > VoidOrErrStr
return type for a void function that can produce an error string
Definition MRExpected.h:60