Endian Swap: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 13: | Line 13: | ||
<p>This flowgraph can be downloaded from [[Media:Endian Swap.grc]].</p> | <p>This flowgraph can be downloaded from [[Media:Endian Swap.grc]].</p> | ||
In the example flowgraph, the default item size of 4 is used, treating the input stream as 32-bit integers and swapping their byte order. | |||
== Source Files == | == Source Files == |
Latest revision as of 07:03, 2 May 2025
Convert stream of items into their byte swapped version.
Parameters
Item Size Default: 4 (swaps 32-bit integers). Values: 2 (16-bit), 4 (32-bit), 8 (64-bit).
Example Flowgraph
This flowgraph can be downloaded from Media:Endian Swap.grc.
In the example flowgraph, the default item size of 4 is used, treating the input stream as 32-bit integers and swapping their byte order.
Source Files
- C++ files
- endian_swap_impl.cc
- Header files
- endian_swap_impl.h
- Public header files
- endian_swap.h
- Block definition
- blocks_endian_swap.block.yml