11 #ifndef INCLUDED_BLOCKS_REPACK_BITS_BB_H
12 #define INCLUDED_BLOCKS_REPACK_BITS_BB_H
59 typedef std::shared_ptr<repack_bits_bb>
sptr;
71 const std::string& tsb_tag_key =
"",
72 bool align_output =
false,
Repack k bits from the input stream onto l bits of the output stream.
Definition: repack_bits_bb.h:57
std::shared_ptr< repack_bits_bb > sptr
Definition: repack_bits_bb.h:59
static sptr make(int k, int l=8, const std::string &tsb_tag_key="", bool align_output=false, endianness_t endianness=GR_LSB_FIRST)
virtual void set_k_and_l(int k, int l)=0
Block that operates on PDUs in form of tagged streams.
Definition: tagged_stream_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
endianness_t
Definition: endianness.h:16
@ GR_LSB_FIRST
Definition: endianness.h:16