Return true if this platform is big‐endian.

Synopsis

Declared in <bsls_platformutil.h>

static
bool
isBigEndian();

Description

Return true if this platform is "big‐endian", and false otherwise. Note that "big‐endian" (i.e., the most significant byte of data at the lowest byte address) is consistent with network byte order.

DEPRECATED: Use preprocessor macro BSLS_PLATFORM_IS_BIG_ENDIAN defined in bsls_platform instead.

Return Value

true if this platform is big‐endian, else false

Created with MrDocs