Unit implementing base64 encoding.
uses |
System, |
base64 implements base64 encoding (as used for instance in MIME encoding) based on streams. It implements 2 streams which encode or decode anything written or read from it. The source or the destination of the encoded data is another stream. 2 classes are implemented for this: TBase64EncodingStream for encoding, and TBase64DecodingStream for decoding.
The streams are designed as plug-in streams, which can be placed between other streams, to provide base64 encoding and decoding on-the-fly...