Important: The information in this document is obsolete and should not be used for new development.
GetFlatSize
Retrieves the length of this Cyberdog item's flattened representation.
long GetFlatSize ();
- return value
- The length, in bytes, of the flattened
CyberItem
object.DISCUSSION
This method should return the size of this Cyberdog item when it is converted to its flattened representation.You can call this method to retrieve the size information in order to allocate a buffer before calling theFlatten
method. The superclass implementation returns 0.If you subclass
CyberItem
, you must override this method. Your override must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheFlatten
method (page 233).