toBinary

Calculates the binary representation of Base64-encoded data.

toBinary(base64_or_object) → returns binary

Argument Reference

base64_or_object any
Required

A string or a variable that contains one:
* In Base64 format to convert to binary
* In binary format to test whether it is valid

Examples
Sample code invoking the toBinary function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub