Zero out gnuradio block

Hi All,

Is there any gnuradio block that will allow to set the last samples of
the
input signal to zero?
ie. somenthing like…

for (i=0;i<N;i++) out[i]=in[i]
for (i=N;i<K;i++) out[i]=0;

Thank you!