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
CyberItemobject.- 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::CreateCyberItemFromSUmethod. 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
TheFlattenmethod (page 233).
TheGetFlatSizemethod (page 236).
TheCyberSession::CreateCyberItemFromSUmethod (page 355).