BAN: Implement host_to_network_endian
This commit is contained in:
parent
89805fb092
commit
b8cf6432ef
|
@ -90,4 +90,10 @@ namespace BAN
|
||||||
template<integral T>
|
template<integral T>
|
||||||
using NetworkEndian = BigEndian<T>;
|
using NetworkEndian = BigEndian<T>;
|
||||||
|
|
||||||
|
template<integral T>
|
||||||
|
constexpr T host_to_network_endian(T value)
|
||||||
|
{
|
||||||
|
return host_to_big_endian(value);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue