Dart.Mail Namespace > Part Class : GetEncodingStream() Method |
Public Function GetEncodingStream() As Stream
public Stream GetEncodingStream()
public: Stream* GetEncodingStream();
public: Stream^ GetEncodingStream();
Acts on the Headers and body/part content. The architecture used for all mail encoding/decoding is based on this technique where the returned Stream is simply read from or written to. All encoding and decoding happens "on-the-fly" with minimal buffering occurring in memory.
Any existing content is disposed of when a new message is decoded (when Stream.Write() is used).