The getTotalSize() function
Returns the total size in bytes of all objects that are allocated by a SPUPad.
Syntax
The function has the following syntax:
virtual int32 getTotalSize()Description
The function returns the current size in bytes allocated by the SPUPad. The function always returns a positive number if the pad is not empty, or 0 if the pad is empty. The sizes that make up the total are subject only to the restrictions of allocate()/deallocate().