Context
Windows client
Windows server
Java client
Java server
Adelia Web Client
Adelia Cloud client
Event Adelia client
Parameters
ALPHA |
Base64String |
Base64 encoded string |
ALPHA | Encoding | Character encoding to use to convert the result of base64 decoding of the string into an input. This encoding value must be included in the character set registry defined by the IANA. It must also be included in the character sets supported by the JVM (Java) or libiconv library (Windows). If encoding is not specified (empty string), the string to encode is converted using:
|
ALPHA |
TargetString |
Decoded string |
NUM_BIN_4 | Length | Length of the target string. Important: in the event of a -2 execution error, this parameter is updated when the function call is returned (see the description of the ReturnCode parameter below). |
NUM_BIN_2 |
ReturnCode |
Operation return code:
|
For example
ALPHA(10000) |
stringInBase64 |
ALPHA(1000) |
stringOut |
ALPHA(20) | encoding |
NUM_BIN_4 | lenStringOut |
NUM_BIN_2 |
retCode |
lenStringOut = 1000
encoding = 'UTF-8'
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxBase64ToAlpha' stringInBase64 encoding stringOut lenStringOut retCode