<< ibec_UTF8ToAnsiString | IBEBlock | ibec_mime_EncodeNoCRLF >>

ibec_MimeEncode

Encodes a string with MIME Base64.

Syntax

 function ibec_mime_Encode(Str : string) : string;

Description

Encodes a string with MIME Base64. The only difference between ibec_mime_Encode and ibec_mime_EncodeNoCRLF is that the first one adds line breaks (CRLF) during Mime encoding as required by RFC 2045.

Example

 ...
 s = 'My data';
 sBase64 = ibec_mime_Encode(s);
 ...
 s = ibec_mime_Decode(sBase64);
 ...

See also:
ibec_mime_EncodeNoCRLF
ibec_mime_Decode

<< ibec_UTF8ToAnsiString | IBEBlock | ibec_mime_EncodeNoCRLF >>