staticlib_compress  1.2.0
 All Classes Namespaces Files Functions Enumerations
Classes | Namespaces | Functions
lzma_sink.hpp File Reference
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <ios>
#include <memory>
#include <type_traits>
#include "lzma.h"
#include "staticlib/config.hpp"
#include "staticlib/io.hpp"
#include "staticlib/support.hpp"
#include "staticlib/compress/compress_exception.hpp"

Go to the source code of this file.

Classes

class  staticlib::compress::lzma_sink< Sink, compression_level, buf_size >
 Sink wrapper that compressed written data using LZMA algorithm. More...

Namespaces

namespace  staticlib
namespace  staticlib::compress

Functions

template<typename Sink , class = typename std::enable_if<!std::is_lvalue_reference<Sink>::value>::type>
lzma_sink< Sink > staticlib::compress::make_lzma_sink (Sink &&sink)
 Factory function for creating lzma sinks, created object will own the specified sink.
template<typename Sink >
lzma_sink
< sl::io::reference_sink< Sink > > 
staticlib::compress::make_lzma_sink (Sink &sink)
 Factory function for creating lzma sinks, created object will NOT own the specified sink.