Click or drag to resize
MimeKit

Base64Encoder Class

Incrementally encodes content using the base64 encoding.
Inheritance Hierarchy
SystemObject
  MimeKit.EncodingsBase64Encoder

Namespace: MimeKit.Encodings
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public class Base64Encoder : IMimeEncoder

The Base64Encoder type exposes the following members.

Constructors
 NameDescription
Public methodBase64Encoder Initialize a new instance of the Base64Encoder class.
Top
Properties
 NameDescription
Public propertyEncoding Get the encoding.
Top
Methods
 NameDescription
Public methodClone Clone the Base64Encoder with its current state.
Public methodEncode Encode the specified input into the output buffer.
Public methodEquals
(Inherited from Object)
Public methodEstimateOutputLength Estimate the length of the output.
Protected methodFinalize
(Inherited from Object)
Public methodFlush Encode the specified input into the output buffer, flushing any internal buffer state as well.
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodReset Reset the encoder.
Public methodToString
(Inherited from Object)
Top
Remarks
Base64 is an encoding often used in MIME to encode binary content such as images and other types of multi-media to ensure that the data remains intact when sent via 7bit transports such as SMTP.
See Also