JCL Help:MimeEncodeStream
JCL Help: MimeEncodeStream Function
Search in JCL Help
Search in all projects
Summary
MIME-Encodes a stream.
Pascal
procedure MimeEncodeStream(const InputStream: TStream; const OutputStream: TStream);
Parameters
Parameters | Description |
const InputStream: TStream | Input stream to be encoded. |
const OutputStream: TStream | Output stream. |
Description
MimeEncodeStream encodes InputStream starting at the current position up to the end and writes the result to OutputStream, again starting at the current position. When done, it will not reset either stream's positions, but leave InputStream at the last read position (i.e. the end) and OutputStream at the last write position (which can, but is not always the end). To encode the entire InputStream from beginning to end, make sure that its offset is positioned at the beginning of the stream. You can force this by issuing Seek (0, soFromBeginning) before calling this function.
See Also
MimeDecodeStream MimeEncodeString MimeEncode MimeEncodedSize
About
Unit
Donator
Ralf Junker
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page