DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
Swap endianness
Reverses the byte order within fixed-size words.
ID:
swap-endianness
Category: Data format
Aliases: byte swap, endian
#
Arguments
Argument
Type
Default
Constraints
Word length
number
4
Minimum: 2. Maximum: 16