<?xml version="1.0"?>
<!--
###################################################
##Pack K Bits
###################################################
 -->
<block>
	<name>Pack K Bits</name>
	<key>gr_pack_k_bits_bb</key>
	<import>from gnuradio import gr</import>
	<make>gr.pack_k_bits_bb($k)</make>
	<param>
		<name>K</name>
		<key>k</key>
		<type>int</type>
	</param>
	<sink>
		<name>in</name>
		<type>byte</type>
	</sink>
	<source>
		<name>out</name>
		<type>byte</type>
	</source>

    <doc>
        Pack K unpacked bits (one bit per byte) into a single packed byte containing k bits and 8 - k zeros.
    </doc>

</block>