Skip to content

Reference for unit 'Base64'

Unit implementing base64 encoding.

uses

Used units Description
System
Classes
sysutils

Overview

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...