11 #ifndef INCLUDED_GR_BLOCKS_PACK_K_BITS_H
12 #define INCLUDED_GR_BLOCKS_PACK_K_BITS_H
56 void pack(
unsigned char* bytes,
const unsigned char* bits,
int nbytes)
const;
61 void pack_rev(
unsigned char* bytes,
const unsigned char* bits,
int nbytes)
const;
GNU Radio logging wrapper.
Definition: basic_block.h:29
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
Converts a vector of bytes with 1 bit in the LSB to a byte with k relevant bits.
Definition: pack_k_bits.h:35