For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Last updated

Was this helpful?