Share via


Base64Encoder members

The Base64Encoder class encodes data into the base64 encoding.

The Base64Encoder type exposes the following members.

Constructors

  Name Description
Public method Base64Encoder() The Base64Encoder constructor creates a new default Base64Encoder object.
Public method Base64Encoder(Int32) The Base64Encoder constructor initializes a new instance of the Base64Encoder class with the LineLength property that is indicated by the lineLength parameter.

Top

Properties

  Name Description
Public property LineLength The LineLength property gets or sets a value that controls how the encoded data will be wrapped.

Top

Methods

  Name Description
Public method Clone The Clone method returns a copy of this Base64Encoder object. (Overrides ByteEncoder.Clone().)
Public method Convert(Stream, Stream) When overridden in a derived class, the Convert method encodes or decodes sourceStream and writes it to destinationStream. (Inherited from ByteEncoder.)
Public method Convert([], Int32, Int32, [], Int32, Int32, Boolean, Int32, Int32, Boolean) The Convert method applies base64 encoding to data that is provided in a byte array. (Overrides ByteEncoder.Convert([], Int32, Int32, [], Int32, Int32, Boolean, Int32, Int32, Boolean).)
Public method Dispose() Releases the resources used by the ByteEncoder. (Inherited from ByteEncoder.)
Protected method Dispose(Boolean) The Dispose method releases the unmanaged resources that are used by the Base64Encoder and optionally releases the managed resources. (Overrides ByteEncoder.Dispose(Boolean).)
Public method GetMaxByteCount The GetMaxByteCount method returns the maximum number of bytes that are required to store dataCount bytes of binary data after it has been encoded. (Overrides ByteEncoder.GetMaxByteCount(Int32).)
Public method Reset The Reset method resets the internal state of this Base64Encoder object. (Overrides ByteEncoder.Reset().)

Top

See also

Reference

Base64Encoder class

Microsoft.Exchange.Data.Mime.Encoders namespace