Reference

bswap_16(3) on Linux

The text 6c3595bd7ce6, as Debian 12 (Bookworm) shipped it.

reverse order of bytes

bswap_16(3) on Linux now