Base32Decode
PowerScript function
Description
Decodes a string value using Base32 decoder.
Applies to
CoderObject object
Syntax
|
1 |
coder.Base32Decode ( variable ) |
|
Argument |
Description |
|---|---|
|
coder |
The name of the CoderObject object. |
|
variable |
A string whose value is the data you want to decode with |
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
This statement decodes the data that is encoded using Base32.
|
1 2 3 4 5 6 7 8 9 10 11 |
CoderObject lco_Code Blob lbb_Data String ls_Return, ls_Data lco_Code = Create CoderObject ls_Data = "KRSXG5BAIJQXGZJTGJCW4L2EMVRW6ZDF" lbb_Data = lco_Code.Base32Decode(ls_Data) ls_Return = String (lbb_Data, EncodingUTF8!) Destroy ( lco_Code ) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest