Byteswap but not bitswap #1235
-
|
Recently Luau added the Byteswap could easily be implemented with bitwise extract + bitwise shift and bitwise or. Bitswap cannot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Byteswap is provided to change endianness. |
Beta Was this translation helpful? Give feedback.
Byteswap is provided to change endianness.
It is directly supported by x64 processors with a
bswapinstruction and arm processors usingrevinstruction.