Return true if this platform is little‐endian.
Synopsis
Declared in <bsls_platformutil.h>
static
bool
isLittleEndian();
Description
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.
DEPRECATED: Use preprocessor macro BSLS_PLATFORMUTIL_IS_BIG_ENDIAN defined in bsls_platform instead.
Return Value
true if this platform is little‐endian, else false
Created with MrDocs