/* -*- c++ -*- */
/*
 * Copyright 2006,2013-2014 Free Software Foundation, Inc.
 *
 * This file is part of GNU Radio
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 */

#ifndef INCLUDED_GR_UNPACK_K_BITS_BB_IMPL_H
#define INCLUDED_GR_UNPACK_K_BITS_BB_IMPL_H

#include <gnuradio/blocks/unpack_k_bits.h>
#include <gnuradio/blocks/unpack_k_bits_bb.h>

namespace gr {
namespace blocks {

class unpack_k_bits_bb_impl : public unpack_k_bits_bb
{
private:
    const kernel::unpack_k_bits d_unpack;

public:
    unpack_k_bits_bb_impl(unsigned k);

    int work(int noutput_items,
             gr_vector_const_void_star& input_items,
             gr_vector_void_star& output_items);
};

} /* namespace blocks */
} /* namespace gr */

#endif /* INCLUDED_GR_UNPACK_K_BITS_BB_IMPL_H */