3 #include "telnetpp/core.hpp" 4 #include <boost/exception/all.hpp> 8 namespace telnetpp {
namespace options {
namespace mccp {
29 virtual std::tuple<telnetpp::u8stream, bool>
decompress(
30 telnetpp::u8 byte) = 0;
44 :
virtual std::domain_error,
45 virtual boost::exception
virtual void end_decompression()=0
Ends the current decompression stream.
Represents an object that can decompress arbitrary byte sequences.
Definition: decompressor.hpp:13
virtual std::tuple< telnetpp::u8stream, bool > decompress(telnetpp::u8 byte)=0
Decompress the given byte, and return a tuple of the decompressed data and a boolean that is set to t...
An exception that is thrown in the case that a stream of data cannot be decompressed.
Definition: decompressor.hpp:43
Definition: byte_converter.hpp:4
virtual ~decompressor()
Destructor.
Definition: decompressor.hpp:19