[#absl-byteswap]
= xref:absl.adoc[absl]::byteswap
:relfileprefix: ../
:mrdocs:

Reverses the bytes in the given integer value `x`&period;

== Synopsis

Declared in `&lt;absl&sol;numeric&sol;bits&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
using std::byteswap;
----

== Description

`absl&colon;&colon;byteswap` participates in overload resolution only if `T` satisfies integral, i&period;e&period;, `T` is an integer type&period; The program is ill&hyphen;formed if `T` has padding bits&period;

See https&colon;&sol;&sol;en&period;cppreference&period;com&sol;w&sol;cpp&sol;numeric&sol;byteswap&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
