Railo 4.2 Reference
Choose a function:

Function SIZEOF

this function is experimentell, to not use in productive enviroment. this function returns the size in bytes of a given object.

Example

sizeof(object obj,[boolean complex]):any

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
obj object  Yes object to get size for  
complex boolean  No if set to false, the size is returned, if set to true a struct containing the element count and the size is returned