Telnet++
A C++ library for interacting with Telnet streams
|
Represents an object that can decompress arbitrary byte sequences. More...
#include <decompressor.hpp>
Classes | |
class | impl |
Public Member Functions | |
decompressor () | |
Constructor. | |
~decompressor () override | |
Destructor. | |
std::tuple< telnetpp::u8stream, bool > | decompress (telnetpp::u8 byte) override |
Decompress the given byte, and return a tuple of the decompressed data and a boolean that is set to true if this was the end of the decompression stream. More... | |
void | end_decompression () override |
Ends the current decompression stream. More... | |
Represents an object that can decompress arbitrary byte sequences.
|
overridevirtual |
Decompress the given byte, and return a tuple of the decompressed data and a boolean that is set to true if this was the end of the decompression stream.
Implements telnetpp::options::mccp::decompressor.
|
overridevirtual |
Ends the current decompression stream.
Any further calls to decompress continue as if the stream were created fresh.
Implements telnetpp::options::mccp::decompressor.