Telnet++
A C++ library for interacting with Telnet streams
|
Represents an object that can compress arbitrary byte sequences. More...
#include <compressor.hpp>
Public Member Functions | |
virtual | ~compressor () |
Destructor. | |
virtual telnetpp::u8stream | compress (telnetpp::u8stream const &sequence)=0 |
Compress the given byte sequence and return the compressed sequence. More... | |
virtual telnetpp::u8stream | end_compression ()=0 |
Ends the compression stream. More... | |
Represents an object that can compress arbitrary byte sequences.
|
pure virtual |
Compress the given byte sequence and return the compressed sequence.
Implemented in telnetpp::options::mccp::zlib::compressor.
|
pure virtual |
Ends the compression stream.
Compressing further will cause the stream to restart.
Implemented in telnetpp::options::mccp::zlib::compressor.