Table of Contents

TMimeWriter.WriteBase64 Method

Writes the base64 encoding of a byte array, as defined in RFC 2045 section 6.8 This method does not keep the state, so all binary data must be supplied at once. This method will also correctly split the string at 76 characters.

Syntax

Unit: FlexCel.Core

class procedure TMimeWriter.WriteBase64(const Data: TFlexCelWriter; const s: TBytes); static;

Parameters

<-> Parameter Type Description
const Data TFlexCelWriter TFlexCelWriter where we will write the data.
const s TBytes String to Encode.

See also