DecodeStringBase64 function
Decodes a Base64 encoded string and returns the decoded data as a string.
Declaration
function DecodeStringBase64(const s: AnsiString; strict: Boolean=False)
: AnsiStringArguments
s | The base64 encoded string to decode. |
strict | Choose between strict base64 decoding or MIME decoding. |
Function result
The base64 decoded version of
S.
Description
DecodeStringBase64 decodes the string
s (containing Base
64 encoded data) returns the decoded data as a string. It uses a
TBase64DecodingStream to do this. The
Strict parameter is
passed on to the constructor as
bdmStrict or
bdmMIMESee also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
