Compartilhar via


EncoderStream members

The EncoderStream class uses an object derived from ByteEncoder to encode or decode data as it is read or written.

The EncoderStream type exposes the following members.

Constructors

  Name Description
Public method EncoderStream The EncoderStream constructor creates a new EncoderStream that uses encoder to encode or decode data as it is read from or written to stream, depending on the value of access.

Top

Properties

  Name Description
Public property BaseStream The BaseStream property gets the Stream object that this EncoderStream object owns.
Public property ByteEncoder The ByteEncoder property gets the ByteEncoder that this EncoderStream object uses to encode or decode data.
Public property CanRead The CanRead property gets a Boolean value indicating whether this EncoderStream supports reading. (Overrides Stream.CanRead.)
Public property CanSeek The CanSeek property gets a Boolean value indicating whether the Stream object that this EncoderStream object owns supports seeking. (Overrides Stream.CanSeek.)
Public property CanWrite The CanWrite property gets a Boolean value indicating whether the Stream object that this EncoderStream object owns can be written to. (Overrides Stream.CanWrite.)
Public property Length The Length property gets a long integer value describing the length of the Stream object that this EncoderStream object owns. (Overrides Stream.Length.)
Public property Position The Position property gets or sets a long integer value representing the current position within the Stream object that this EncoderStream object owns. (Overrides Stream.Position.)

Top

Methods

  Name Description
Public method Clone The Clone method returns a copy of this EncoderStream object.
Protected method Dispose Releases the unmanaged resources used by the EncoderStream and optionally releases the managed resources. (Overrides Stream.Dispose(Boolean).)
Public method Flush The Flush method clears all buffers in this EncoderStream object and causes any buffered data to be written. (Overrides Stream.Flush().)
Public method Read The Read method encodes or decodes data as it reads from the Stream object that this EncoderStream object owns. (Overrides Stream.Read([], Int32, Int32).)
Public method Seek The Seek method moves the current position. (Overrides Stream.Seek(Int64, SeekOrigin).)
Public method SetLength The SetLength method sets the length of the stream. (Overrides Stream.SetLength(Int64).)
Public method Write The Write method encodes or decodes data as it writes it to the Stream object that this EncoderStream object owns. (Overrides Stream.Write([], Int32, Int32).)

Top

See also

Reference

EncoderStream class

Microsoft.Exchange.Data.Mime.Encoders namespace