Base 64Encoder Class
Incrementally encodes content using the base64 encoding.
Definition
Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public class Base64Encoder : IMimeEncoder- Inheritance
- Object Base64Encoder
- Implements
- IMimeEncoder
Remarks
Base64 is an encoding often used in MIME to encode binary content such
as images and other types of multimedia to ensure that the data remains
intact when sent via 7bit transports such as SMTP.
Constructors
| Base64Encoder(Int32) | Initialize a new instance of the Base64Encoder class. |
| Base64Encoder(NewLineFormat, Int32) | Initialize a new instance of the Base64Encoder class. |
Properties
| EnableHardwareAcceleration | Get or set whether the Base64Encoder should use hardware acceleration when available. |
| Encoding | Get the encoding. |
Methods
| Clone | Clone the Base64Encoder with its current state. |
| Encode | Encode the specified input into the output buffer. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| EstimateOutputLength | Estimate the length of the output. |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| Flush | Encode the specified input into the output buffer, flushing any internal buffer state as well. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Reset | Reset the encoder. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |