pub fn encode_routine<I, O>( input_handle: &mut I, output_handle: &mut O, ) -> Result<(), Error>where I: BufRead, O: Write,
The encoding routine for arithmetic coding. Takes an input and and output.