Toolbox snapshot
The Reactive C++ Toolbox
|
#include <bit>
#include <concepts>
#include <cstdint>
Go to the source code of this file.
Namespaces | |
namespace | toolbox |
namespace | toolbox::net |
Functions | |
constexpr std::uint16_t | toolbox::net::bswap (std::uint16_t n) noexcept |
constexpr std::int16_t | toolbox::net::bswap (std::int16_t n) noexcept |
constexpr std::uint32_t | toolbox::net::bswap (std::uint32_t n) noexcept |
constexpr std::int32_t | toolbox::net::bswap (std::int32_t n) noexcept |
constexpr std::uint64_t | toolbox::net::bswap (std::uint64_t n) noexcept |
constexpr std::int64_t | toolbox::net::bswap (std::int64_t n) noexcept |
template<typename ValueT > requires std::integral<ValueT> | |
constexpr ValueT | toolbox::net::ntoh (ValueT n) noexcept |
template<typename ValueT > requires std::integral<ValueT> | |
constexpr ValueT | toolbox::net::hton (ValueT n) noexcept |
template<typename ValueT > requires std::integral<ValueT> | |
constexpr ValueT | toolbox::net::ltoh (ValueT n) noexcept |
template<typename ValueT > requires std::integral<ValueT> | |
constexpr ValueT | toolbox::net::htol (ValueT n) noexcept |