Telnet++
4.0.0.9
A C++ library for interacting with Telnet streams
Loading...
Searching...
No Matches
include
telnetpp
options
mccp
zlib
decompressor.hpp
1
#pragma once
2
3
#include "telnetpp/options/mccp/codec.hpp"
4
5
#include <memory>
6
7
namespace
telnetpp::options::mccp::zlib
{
8
9
//* =========================================================================
11
//* =========================================================================
12
class
TELNETPP_EXPORT
decompressor
// NOLINT
13
:
public
telnetpp::options::mccp::codec
14
{
15
public
:
16
//* =====================================================================
18
//* =====================================================================
19
decompressor
();
20
21
//* =====================================================================
23
//* =====================================================================
24
~decompressor
()
override
;
25
26
private
:
27
//* =====================================================================
29
//* =====================================================================
30
void
do_start()
override
;
31
32
//* =====================================================================
34
//* =====================================================================
35
void
do_finish(continuation
const
&cont)
override
;
36
37
//* =====================================================================
48
//* =====================================================================
49
telnetpp::bytes transform_chunk(
50
telnetpp::bytes data, continuation
const
&cont)
override
;
51
52
struct
impl;
53
std::unique_ptr<impl> pimpl_;
54
};
55
56
}
// namespace telnetpp::options::mccp::zlib
telnetpp::options::mccp::codec
Represents an object that can transform (encode or decode) arbitrary byte sequences....
Definition
codec.hpp:18
telnetpp::options::mccp::zlib::decompressor
Represents an object that can decompress arbitrary byte sequences.
Definition
decompressor.hpp:14
telnetpp::options::mccp::zlib
Implementation of the compressor/decompressor functionality for use with a telnetpp::options::mccp::c...
Generated on Mon Jun 9 2025 16:28:24 for Telnet++ by
1.9.8