BloombergLP::bsls::ByteOrderUtil::swapBytes

Return the byte-swapped value of the specified x.

Synopsis

Declared in <bsls_byteorderutil.h>

static
Types::Int64
swapBytes(Types::Int64 x);

Return Value

byte-swapped value of x

Parameters

NameDescription
xvalue whose bytes are reversed