Integration Server 10.7 | Built-In Services Reference Guide | String Folder | Summary of Elements in this Folder | pub.string:base64Decode
 
pub.string:base64Decode
WmPublic. Decodes a Base-64 encoded string into a sequence of bytes.
Input Parameters
string
String A Base64-encoded String to decode into bytes.
encoding
String Optional. Specifies the encoding method for the string value. That is, describes how the input Base64-encoded String is constructed. Set to:
*ASCII. This is the default.
*UTF-8
If the Base64-encoded String in string was generated by the pub.string:base64Encode service, the value of the encoding input parameter for pub.string:base64Decode must match the value of the encoding parameter used in the pub.string:base64Encode service invocation.
If the Base64-encoded String in string was obtained from somewhre besides the pub.string:base64Encode service, set the encoding parameter to ASCII.
Output Parameters
value
byte[ ] The sequence of bytes decoded from the Base64-encoded String.