MeshLib C++ Docs
Loading...
Searching...
No Matches
MRZlib.h
Go to the documentation of this file.
1#pragma once
2
3#include "config.h"
4#ifndef MRIOEXTRAS_NO_ZLIB
5#include "exports.h"
6
7#include <MRMesh/MRExpected.h>
8
9#include <iostream>
10
11namespace MR
12{
15
16
24MRIOEXTRAS_API Expected<void> zlibCompressStream( std::istream& in, std::ostream& out, int level = -1 );
25
32MRIOEXTRAS_API Expected<void> zlibDecompressStream( std::istream& in, std::ostream& out );
33
34}
35#endif
MRIOEXTRAS_API Expected< void > zlibDecompressStream(std::istream &in, std::ostream &out)
tl::expected< T, E > Expected
Definition MRExpected.h:31
MRIOEXTRAS_API Expected< void > zlibCompressStream(std::istream &in, std::ostream &out, int level=-1)
compress the input data using the Deflate algorithm
only for bindings generation
Definition MRCameraOrientationPlugin.h:8