Determines whether a value is stored as binary data.
True, if the value is binary; False, otherwise. Returns the value in Base64 format.
IsBinary(value)
ToBinary, ToBase64, IsNumeric, YesNoFormat
| Parameter | Description |
|---|---|
| value |
Number or string |
<!--- This example shows the use of IsBinary. It assumes that another page in a syndication program passed this page the value of the variable data_var, which can hold character or binary data. This example checks whether data_var is binary; if so, it converts the data to Base64 data. ---> <h3>IsBinary Example</h3> <!--- Check whether syndicated data is in binary form. If so, convert to Base64 so it can be viewed as printable characters. ---> <cfif IsBinary(data_var)> <cfset Base64data = ToBase64(data_var) </cfif>
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6
Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt1125.htm
Comments
a440guy said on Feb 6, 2003 at 6:36 PM :