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!

sizeOf Argument Reference

obj any
Required

complex boolean

Examples
Sample code invoking the sizeOf function


Fork me on GitHub