Sign in Join
FPDoc Onlineexperiment

EncodeStringBase64 function

In unit Base64

Encode a string with Base64 encoding and return the result as a string.

Declaration

pascal
function EncodeStringBase64(const s: AnsiString): AnsiString

Arguments

s

The string to encode with base64.

Function result

The Base64 encoded version of S.

Description

EncodeStringBase64 encodes the string s using Base 64 encoding and returns the result. It uses a TBase64EncodingStream to do this.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.