JCL Help:MimeDecodeStream
JCL Help: MimeDecodeStream Function
Search in JCL Help
Search in all projects
Summary
Decodes a MIME-encoded stream.
Pascal
procedure MimeDecodeStream(const InputStream: TStream; const OutputStream: TStream);
Parameters
Parameters | Description |
const InputStream: TStream | Input stream to be decoded. |
const OutputStream: TStream | Output stream. |
Description
MimeDecodeStream decodes 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 decode 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
MimeEncodeStream MimeDecodeString MimeDecode MimeDecodedSize
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