Telnet++ 4.0.0.9
A C++ library for interacting with Telnet streams
Loading...
Searching...
No Matches
encoder.hpp
1#pragma once
2
3#include "telnetpp/options/msdp/variable.hpp"
4
5namespace telnetpp::options::msdp::detail {
6
7//* =========================================================================
9//* =========================================================================
10TELNETPP_EXPORT
11void encode_variable(
13 telnetpp::byte_storage &storage);
14
15//* =========================================================================
17//* =========================================================================
18template <typename Continuation>
19void encode(telnetpp::options::msdp::variable const &vbl, Continuation &&cont)
20{
21 telnetpp::byte_storage storage;
22 encode_variable(vbl, storage);
23 cont(storage);
24}
25
26} // namespace telnetpp::options::msdp::detail
A structure that represents a named value.
Definition variable.hpp:30