MeshLib
 
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{
13
21MRIOEXTRAS_API Expected<void> zlibCompressStream( std::istream& in, std::ostream& out, int level = -1 );
22
29MRIOEXTRAS_API Expected<void> zlibDecompressStream( std::istream& in, std::ostream& out );
30
31} // namespace MR
32#endif
Definition MRCameraOrientationPlugin.h:8
MRIOEXTRAS_API Expected< void > zlibDecompressStream(std::istream &in, std::ostream &out)
tl::expected< T, E > Expected
Definition MRExpected.h:58
MRIOEXTRAS_API Expected< void > zlibCompressStream(std::istream &in, std::ostream &out, int level=-1)
compress the input data using the Deflate algorithm