vg
tools for working with variation graphs
|
Zstandard compression buffer that writes to another stream buffer. More...
#include <zstdutil.hpp>
Public Member Functions | |
zstd_compress_buf (std::streambuf *inner, int compression_level=DEFAULT_COMPRESSION_LEVEL) | |
~zstd_compress_buf () | |
zstd_compress_buf (const zstd_compress_buf &)=delete | |
zstd_compress_buf & | operator= (const zstd_compress_buf &)=delete |
zstd_compress_buf (zstd_compress_buf &&)=default | |
zstd_compress_buf & | operator= (zstd_compress_buf &&)=default |
Static Public Attributes | |
constexpr static int | DEFAULT_COMPRESSION_LEVEL = 3 |
Protected Member Functions | |
int_type | overflow (int_type ch) override |
int | sync () override |
Protected Attributes | |
std::streambuf * | inner |
ZSTD_CCtx * | context |
std::vector< char > | in_buffer |
std::vector< char > | out_buffer |
Zstandard compression buffer that writes to another stream buffer.
|
explicit |
vg::zstd_compress_buf::~zstd_compress_buf | ( | ) |
|
delete |
|
default |
|
delete |
|
default |
|
overrideprotected |
|
overrideprotected |
|
protected |
|
staticconstexpr |
|
protected |
|
protected |
|
protected |