Packing Bits: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


The previous tutorial,  [[Converting_Data_Types|Converting Data Types]], describes the ''char'' or ''byte'' data type and how to convert between data types. The next tutorial, [[Streams_and_Vectors|Streams and Vectors]], describes the differences between streams and vectors and how to use them in flowgraphs.
The previous tutorial,  [[Converting_Data_Types|Converting Data Types]], describes the ''char'' or ''byte'' data type and how to convert between data types. The next tutorial, [[Streams_and_Vectors|Streams and Vectors]], describes the differences between streams and vectors and how to use them in flowgraphs.
== Packing Bits ==
== Unpacking Bits ==


* pack and unpack bits
* pack and unpack bits

Revision as of 22:01, 20 January 2022

Template:TutorialNavigation

This tutorial describes how to pack 8 bits into a byte using the Pack K Bits block, and how unpack a byte into 8 bits, using the Unpack K Bits block.

The previous tutorial, Converting Data Types, describes the char or byte data type and how to convert between data types. The next tutorial, Streams and Vectors, describes the differences between streams and vectors and how to use them in flowgraphs.

Packing Bits

Unpacking Bits

  • pack and unpack bits
  • describe how it works for char/byte type



The next tutorial, Streams and Vectors, describes the differences between streams and vectors and how to use them in flowgraphs.