DIMime is a lightening fast MIME (Base64) Encoder and Decoder. The core encoding and decoding routines are written in highly optimized Delphi Pascal which even beats most assembler code. Speed has been slightly improved as of version 1.6.
Both MimeEncode and MimeDecode have a straightforward, flexible and highly effective interface which makes them easy to use with buffers, strings and all other types you can imagine. Decoding does not mock about spaces, line breaks or incomplete data. Four helper functions easily code strings and streams (of practically unlimited size).
An older version of DIMime is part of the Jedi Code Library (JCL).