[#absl-byteswap] = xref:absl.adoc[absl]::byteswap :relfileprefix: ../ :mrdocs: Reverses the bytes in the given integer value `x`. == Synopsis Declared in `<absl/numeric/bits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- using std::byteswap; ---- == Description `absl::byteswap` participates in overload resolution only if `T` satisfies integral, i.e., `T` is an integer type. The program is ill‐formed if `T` has padding bits. See https://en.cppreference.com/w/cpp/numeric/byteswap. [.small]#Created with https://www.mrdocs.com[MrDocs]#