htobe32_internal

Converts a 32-bit value from host byte order to big-endian byte order.

Synopsis

Declared in <compat/endian.h>

constexpr
uint32_t
htobe32_internal(uint32_t host_32bits);

Return Value

The value in big-endian byte order.

Parameters

NameDescription
host_32bitsThe value in host byte order.