BloombergLP::bsls::PlatformUtil::isLittleEndian

Return true if this platform is "little-endian", and false otherwise. Note that "little-endian" (i.e., the least significant byte of data at the lowest byte address) is inconsistent with network byte order.

Synopsis

Declared in <bsls_platformutil.h>

static
bool
isLittleEndian();

Description

DEPRECATED: Use preprocessor macro BSLS_PLATFORMUTIL_IS_BIG_ENDIAN defined in bsls_platform instead.