sizeOf

Returns the size in bytes of a given object

sizeOf(obj [, complex]) → returns any

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Discouraged: This function is in an early state. Do not use in production!

Argument Reference

obj any
Required

complex boolean

Examples
Sample code invoking the sizeOf function

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

Fork me on GitHub