21#import "OFMessagePackRepresentation.h"
23OF_ASSUME_NONNULL_BEGIN
33OF_SUBCLASSING_RESTRICTED
44@property (readonly, nonatomic) int8_t type;
49@property (readonly, nonatomic)
OFData *data;
59+ (instancetype)extensionWithType: (int8_t)type data: (
OFData *)data;
61- (instancetype)init OF_UNAVAILABLE;
71- (instancetype)initWithType: (int8_t)type
72 data: (
OFData *)data OF_DESIGNATED_INITIALIZER;
A class for storing arbitrary data in an array.
Definition: OFData.h:46
A class for representing the MessagePack extension type.
Definition: OFMessagePackExtension.h:37
The root class for all other classes inside ObjFW.
Definition: OFObject.h:692
A protocol for the creation of copies.
Definition: OFObject.h:1350
A protocol implemented by classes that support encoding to a MessagePack representation.
Definition: OFMessagePackRepresentation.h:33