BAN: Implement host_to_network_endian

This commit is contained in:
Bananymous 2024-02-05 17:29:24 +02:00
parent 89805fb092
commit b8cf6432ef
1 changed files with 6 additions and 0 deletions

View File

@ -90,4 +90,10 @@ namespace BAN
template<integral T>
using NetworkEndian = BigEndian<T>;
template<integral T>
constexpr T host_to_network_endian(T value)
{
return host_to_big_endian(value);
}
}