23#ifndef INCLUDED_BLOCKS_REPACK_BITS_BB_H
24#define INCLUDED_BLOCKS_REPACK_BITS_BB_H
71 typedef boost::shared_ptr<repack_bits_bb>
sptr;
83 const std::string& tsb_tag_key =
"",
84 bool align_output =
false,
Repack k bits from the input stream onto l bits of the output stream.
Definition: repack_bits_bb.h:69
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
boost::shared_ptr< repack_bits_bb > sptr
Definition: repack_bits_bb.h:71
Block that operates on PDUs in form of tagged streams.
Definition: tagged_stream_block.h:38
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
Include this header to use the message passing features.
Definition: basic_block.h:45
endianness_t
Definition: endianness.h:28
@ GR_LSB_FIRST
Definition: endianness.h:28