Vector to Stream gr_vector_to_stream from gnuradio import gr gr.vector_to_stream($type.size*$vlen, $num_items) IO Type type enum Num Items num_items 2 int Vec Length vlen 1 int $num_items > 0 $vlen >= 1 in $type $vlen*$num_items out $type $vlen