Important: The information in this document is obsolete and should not be used for new development.
Unflatten
Reads this flattened Cyberdog item from a buffer.
long Unflatten (in Ptr buffer);
buffer
- A pointer to a data buffer containing the flattened
CyberItem
object.- return value
- The number of bytes read from the buffer.
DISCUSSION
This method should restore a Cyberdog item to its saved state from a flat representation stored in a buffer. The superclass implementation returns 0. This method is called by theCyberSession::CreateCyberItemFromSU
method. The format of a flattened Cyberdog item is described in Table 7-1 (page 227).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).
TheGetFlatSize
method (page 236).
TheCyberSession::CreateCyberItemFromSU
method (page 355).