Base64UrlDecode

Description

Decodes a string value using Base64Url decoder.

Applies to

CoderObject object

Syntax

coder.Base64UrlDecode ( variable )

Argument

Description

coder

The name of the CoderObject object.

variable

A string whose value is the data you want to decode with Base64Url decoder.


Return value

Blob. Returns the result of the decoding if it succeeds. If any argument's value is null, the method returns null. If an error occurs, throw the exception.

Examples

CoderObject lco_Code
Blob lbb_Data
String ls_Return, ls_Data

lco_Code = Create CoderObject

ls_Data = "VGVzdCBCYXNlNjRVcmw"
lbb_Data = lco_Code.Base64UrlDeCode(ls_Data)
ls_Return = String (lbb_Data, EncodingUTF8!)

Destroy ( lco_Code )

See also

HexDecode

HexEncode

Base32Decode

Base32Encode

Base64Encode

Base64Decode

Base64UrlEncode

UrlEncode

UrlDecode