Nexus Engine  v0.0.1
Loading...
Searching...
No Matches
Packet.inl File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Nexus
namespace  Nexus::Network
namespace  Nexus::Network::Wire
 Wire values are always sent big-endian.

Functions

template<std::integral T>
constexpr T Nexus::Network::Wire::HostToBigEndian (T value) noexcept
template<std::integral T>
constexpr T Nexus::Network::Wire::BigEndianToHost (T value) noexcept
template<std::integral T>
void Nexus::Network::Wire::Append (std::vector< byte > &buffer, T value)
template<std::integral T>
bool Nexus::Network::Wire::Read (std::span< const byte > data, usize &offset, T &out)