|
|
|
|
|
by XCSme
1316 days ago
|
|
That would be "bitreverse" I guess, plus their description of byteswap[0] is exactly that: "Reverses the bytes in the given integer value n." I would expect the description for "byteswap" to be something like "swaps the given bytes of an integer value n." and be called like byteswap(x, a, b), where a and b are the indicies of the bytes to be swapped. [0]: https://en.cppreference.com/w/cpp/numeric/byteswap |
|