(converter): add output stream convert method