Encoders Architecture
The Encoders namespace contains various classes (Base64Encoder, Base64Decoder, BinHexEncoder, BinHexDecoder, and so on) that can perform bulk conversion of content in memory, and one class (EncoderStream) that can perform any of the other bulk conversions but on a stream. The EncoderStream class uses one of the encoder or decoder classes to do its conversion.