UCE Docs / base64_decode

Signature

String base64_decode(String raw)

Parameters

raw : Base64-encoded text
return value : the decoded bytes (empty on invalid input)

Decodes Base64 text back to bytes. Pairs with base64_encode() for round-tripping binary data through text channels.

Example

print(base64_decode("aGVsbG8="), "\n");
Output
hello