Telnet++
3.1.0.2
A C++ library for interacting with Telnet streams
|
Represents an object that can decompress arbitrary byte sequences. More...
#include <decompressor.hpp>
Classes | |
struct | impl |
Public Member Functions | |
decompressor () | |
Constructor. | |
~decompressor () override | |
Destructor. | |
![]() | |
virtual | ~codec ()=default |
Destructor. | |
void | start () |
Starts the transformation stream. Calls to operator() now assume that the input requires transformation. | |
void | finish (continuation const &cont) |
Finishes the current decompression stream. Calls to operator() now assume that the input does not require transformation. | |
void | operator() (telnetpp::bytes data, continuation const &cont) |
Transform data, if the stream is started, sending the result of the transformation to the continuation. If the stream is not started, the data is passed on untransformed. More... | |
Additional Inherited Members | |
![]() | |
using | continuation = std::function< void(telnetpp::bytes data, bool continuation_ended)> |
Represents an object that can decompress arbitrary byte sequences.