![]() |
Nexus Engine
v0.0.1
|
Wire values are always sent big-endian. More...
Functions | |
| template<std::integral T> | |
| constexpr T | HostToBigEndian (T value) noexcept |
| template<std::integral T> | |
| constexpr T | BigEndianToHost (T value) noexcept |
| template<std::integral T> | |
| void | Append (std::vector< byte > &buffer, T value) |
| template<std::integral T> | |
| bool | Read (std::span< const byte > data, usize &offset, T &out) |
Wire values are always sent big-endian.
|
export |
|
nodiscardconstexprexportnoexcept |
|
nodiscardconstexprexportnoexcept |