pub fn compress<W: Write + Seek>( src: impl AsRef<Path>, dest: W, ) -> Result<W, Error>
hepler function to compress src path to dest writer
src
dest