/*
 * call-seq:
 *    native_decode(input_io, output_io)
 *
 * Decode the input IO and write it to the output IO.
 */
VALUE native_decode(VALUE self, VALUE infile, VALUE outf) {