diff --git a/BAN/include/BAN/Endianness.h b/BAN/include/BAN/Endianness.h index 41ffe53f04..061c298054 100644 --- a/BAN/include/BAN/Endianness.h +++ b/BAN/include/BAN/Endianness.h @@ -90,4 +90,10 @@ namespace BAN template using NetworkEndian = BigEndian; + template + constexpr T host_to_network_endian(T value) + { + return host_to_big_endian(value); + } + }