YEnc Writer Class
A streaming writer for single-part and multipart yEnc blocks.
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 sealed class YEncWriter : IDisposable- Inheritance
- Object YEncWriter
- Implements
- IDisposable
Remarks
Writes complete blocks without buffering an entire file. Each source must contain exactly the declared block size, starting at its current position. Multipart sources contain only the indicated range; this writer does not seek into a whole-file source or assemble parts.
A failed write may leave incomplete output and invalidates the writer. Instances are not thread-safe. This writer does not generate MIME headers or NNTP transport framing.
Constructors
| YEncWriter | Initialize a yEnc writer. |
Methods
| Dispose | Dispose the writer. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Write | Write a complete yEnc block. |
| WriteAsync | Asynchronously write a complete yEnc block. |