Converts ASCII-encoded data into unsigned binary data.
WebAPI.bdh
WebBase64DecodeEx( out sTarget : string, in sSource : string ): boolean;
true if the decoding was successful
false otherwise
Parameter | Description |
---|---|
sTarget | String variable to receive the decoded data. |
sSource | Source string to decode. |
transaction TWeb var sEncoded : string; sDecoded : string; begin WebBase64EncodeEx(sEncoded, "Hallo"); WebBase64DecodeEx(sDecoded, sEncoded); print(sEncoded); print(sDecoded); end TWeb;