Calculates the binary representation of Base64-encoded data.

toBinary(base64_or_object) → returns binary

Argument Reference

base64_or_object any

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

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