[stream] added: truncate support