Swap Bytes
- Updated2023-02-17
- 1 minute(s) read
Swap Bytes
Swaps the high-order 8 bits and the low-order 8 bits for every word in the specified input (data).
Inputs/Outputs

data
An integer, an array of integers, or a cluster containing integers that you want to byte swap.
Behavior with Clusters
If this input is a cluster that contains integers, this node swaps only the integer elements of the cluster.

byte swapped
An output of this operation with the same data type and structure as data.