Endian Swap: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
[[Category:Pages with no Example Flowgraph]]
Convert stream of items into their byte swapped version.
Convert stream of items into their byte swapped version.


== Parameters ==
== Parameters ==
None
Item Size
Default: 4 (swaps 32-bit integers).
Values: 2 (16-bit), 4 (32-bit), 8 (64-bit).
 


== Example Flowgraph ==
== Example Flowgraph ==


Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
[[File:Endian_swap.png]]
 
<p>This flowgraph can be downloaded from [[Media:Endian Swap.grc]].</p>


== Source Files ==
== Source Files ==

Revision as of 06:59, 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

Endian swap.png

This flowgraph can be downloaded from Media:Endian Swap.grc.

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