tchmi_base64decode
[ Function ]
function tchmi_base64decode(input: string): string | null;
Converts a base64 string.
Please note that strings are encoded in JavaScript UTF16. The API Base64BinaryReader.readString() is therefore often the better choice.
Parameter
Name | Type | Description |
---|---|---|
input | Base64 String |
Return value
Type | Description |
---|---|
Converted string. See note below. |
Available from version 1.8 |
Sample – JavaScript
TcHmi.Log.debug(tchmi_base64decode('VHdpbkNBVCBITUk=')); // 'TwinCAT HMI'