add mmapped byte buffer file decoding, and input->output stream transfers