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

Name

Description

host_32bits

The value in host byte order.

Created with MrDocs