ObjFW  Diff

Differences From Artifact [90f8ea281b]:

To Artifact [3923f91f5a]:


25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 *	     OFMessagePackRepresentation.h ObjFW/OFMessagePackRepresentation.h
 *
 * @brief A protocol implemented by classes that support encoding to a
 *	  MessagePack representation.
 */
@protocol OFMessagePackRepresentation
/*!
 * @brief Returns the MessagePack representation of the object as OFData.
 *
 * @return The MessagePack representation of the object as OFData.
 */
- (OFData *)messagePackRepresentation;
@end

OF_ASSUME_NONNULL_END







<
<


|



25
26
27
28
29
30
31


32
33
34
35
36
37
 *	     OFMessagePackRepresentation.h ObjFW/OFMessagePackRepresentation.h
 *
 * @brief A protocol implemented by classes that support encoding to a
 *	  MessagePack representation.
 */
@protocol OFMessagePackRepresentation
/*!


 * @return The MessagePack representation of the object as OFData.
 */
@property (readonly, nonatomic) OFData *messagePackRepresentation;
@end

OF_ASSUME_NONNULL_END