This formal protocol defines the interface to read and write a complex type instance to a message. Complex types that implement this protocol include ROComplexType and ROException. In other words, the complex type should know how to read or write itself from/to the message.
Notice that the two complex type classes mentioned above are abstract classes and actual protocol implementation is done in the concrete descendants. You can see these implementations in Generating Interface Code from Your RODL.
This protocol is not intended to be used directly by users.
- (void) readFromMessage:(nonnull ROMessage *)aMessage withName:(nullable NSString *)aName
- (void) writeToMessage:(nonnull ROMessage *)aMessage withName:(nullable NSString *)aName