Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Namespaces | Functions
Frame.hpp File Reference
#include <toolbox/io/Buffer.hpp>
#include <cassert>
Include dependency graph for Frame.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  toolbox
 
namespace  toolbox::net
 
namespace  toolbox::net::detail
 

Functions

template<std::endian Native = std::endian::native>
constexpr std::uint16_t toolbox::net::detail::get_length (const char *buf, std::endian net_byte_order) noexcept
 
template<std::endian Native = std::endian::native>
void toolbox::net::detail::put_length (char *buf, std::uint16_t len, std::endian net_byte_order) noexcept
 
constexpr std::uint16_t toolbox::net::get_length (const char *buf, std::endian net_byte_order) noexcept
 
std::uint16_t toolbox::net::get_length (ConstBuffer buf, std::endian net_byte_order) noexcept
 
void toolbox::net::put_length (char *buf, std::uint16_t len, std::endian net_byte_order) noexcept
 
void toolbox::net::put_length (MutableBuffer buf, std::uint16_t len, std::endian net_byte_order) noexcept
 
template<typename FnT >
std::size_t toolbox::net::parse_frame (ConstBuffer buf, FnT fn, std::endian net_byte_order)
 
template<typename FnT >
std::size_t toolbox::net::parse_frame (std::string_view buf, FnT fn, std::endian net_byte_order)