staticlib_compress  1.2.0
 All Classes Namespaces Files Functions Enumerations
Classes | Namespaces | Functions
zip_sink.hpp File Reference
#include <ios>
#include <memory>
#include <string>
#include <vector>
#include "zlib.h"
#include "staticlib/config.hpp"
#include "staticlib/io.hpp"
#include "staticlib/endian.hpp"
#include "staticlib/compress/compress_exception.hpp"
#include "staticlib/compress/deflate_sink.hpp"
#include "staticlib/compress/zip_compression_method.hpp"

Go to the source code of this file.

Classes

class  staticlib::compress::detail::Header
 https://en.wikipedia.org/wiki/Zip_%28file_format%29 More...
class  staticlib::compress::zip_sink< Sink >
 Sink wrapper that creates ZIP archives, CRC sum and compression of entries is NOT supported. More...

Namespaces

namespace  staticlib
namespace  staticlib::compress
namespace  staticlib::compress::detail

Functions

template<typename Sink >
void staticlib::compress::detail::write_eocd (Sink &sink, uint16_t files_count, uint32_t cd_offset, uint32_t cd_length)
template<typename Sink , class = typename std::enable_if<!std::is_lvalue_reference<Sink>::value>::type>
zip_sink< Sink > staticlib::compress::make_zip_sink (Sink &&sink)
 Factory function for creating zip sinks, created object will own the specified sink.
template<typename Sink >
zip_sink
< sl::io::reference_sink< Sink > > 
staticlib::compress::make_zip_sink (Sink &sink)
 Factory function for creating zip sinks, created object will NOT own the specified sink.