[#BloombergLP-bsls-ByteOrderUtil-swapBytes-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/ByteOrderUtil.adoc[ByteOrderUtil]::swapBytes :relfileprefix: ../../../ :mrdocs: Return the byte‐swapped value of the specified `x`. == Synopsis Declared in `<bsls_byteorderutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char16_t swapBytes(char16_t x); ---- == Return Value byte‐swapped value of `x` == Parameters [cols="1,4"] |=== | Name| Description | *x* | value whose bytes are reversed |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#