forked from Bananymous/banan-os
BAN: Add network_endian_to_host
This commit is contained in:
parent
78928b7eb4
commit
17ecbca204
|
@ -108,4 +108,10 @@ namespace BAN
|
|||
return host_to_big_endian(value);
|
||||
}
|
||||
|
||||
template<integral T>
|
||||
constexpr T network_endian_to_host(T value)
|
||||
{
|
||||
return big_endian_to_host(value);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue