Stream to Vector blocks_stream_to_vector from gnuradio import blocks blocks.stream_to_vector($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 out $type $vlen*$num_items