Telnet++
A C++ library for interacting with Telnet streams
|
A class that can convert from a std::vector<telnetpp::stream_token> to a telnetpp::u8stream. More...
#include <byte_converter.hpp>
Public Member Functions | |
telnetpp::u8stream | send (std::vector< telnetpp::stream_token > const &tokens) |
Convert the tokens into a stream of bytes. More... | |
A class that can convert from a std::vector<telnetpp::stream_token> to a telnetpp::u8stream.
u8stream telnetpp::byte_converter::send | ( | std::vector< telnetpp::stream_token > const & | tokens | ) |
Convert the tokens into a stream of bytes.
Takes the input set of tokens and converts them into a single array of bytes, which can be transmitted to a remote target. Any non- u8stream elements are discarded.