Compartilhar via


ByteEncoder members

The ByteEncoder class is a base class for the encoders and decoders in the Microsoft.Exchange.Data.Mime.Encoders namespace.

The ByteEncoder type exposes the following members.

Constructors

  Name Description
Protected method ByteEncoder The ByteEncoder constructor creates a new ByteEncoder object with default values.

Top

Methods

  Name Description
Public method Clone When overridden in a derived class, the Clone method returns a copy of this ByteEncoder object.
Public method Convert(Stream, Stream) When overridden in a derived class, the Convert method encodes or decodes sourceStream and writes it to destinationStream.
Public method Convert([], Int32, Int32, [], Int32, Int32, Boolean, Int32, Int32, Boolean) When overridden in a derived class, the Convert method encodes or decodes data.
Public method Dispose() Releases the resources used by the ByteEncoder.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the ByteEncoder and optionally releases the managed resources.
Public methodStatic member GetDecoder The GetDecoder method returns a ByteEncoder that decodes data encoded with the encoding specified by the name parameter.
Public methodStatic member GetEncoder The GetEncoder method returns a ByteEncoder object that can encode data by using the encoding specified by the name parameter.
Public method GetMaxByteCount When overridden in a derived class, the GetMaxByteCount method returns the maximum number of bytes needed to store the result of encoding or decoding dataCount bytes of raw or encoded data, respectively.
Public method Reset When overridden in a derived class, the Reset method resets this Reset object's internal state.

Top

See also

Reference

ByteEncoder class

Microsoft.Exchange.Data.Mime.Encoders namespace