DecoderStream is now an input stream which reads from an input steam, and EncoderStream is now an output stream which writes to an output stream.