Short To Char

From GNU Radio
Revision as of 21:57, 10 April 2025 by Duggabe (talk | contribs) (add Example Flowgraph)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Convert stream of shorts to a stream of chars.

This block strips off the least significant byte from the short value.

[0x00ff, 0x0ff0, 0xff00] => [0x00, 0x0f, 0xff]

Example Flowgraph

Type conv fg.png

This flowgraph can be downloaded from Media:Type_conv.grc.

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO