ToBinary
Calculates the binary representation of Base64-encoded data.
Method Signature
ToBinary(base64_or_object=[any])Arguments
Argument
Type
Required
Description
Default
base64_or_object
any
true
A string containing base64-encoded data.
Examples
Decode a Base64 string to binary
encoded = toBase64( "Hello, World!" );
result = toBinary( encoded );
writeOutput( isBinary( result ) );
Result: true
Related
Last updated
Was this helpful?
