output raw byte directly by using stream