17#import "OFMessagePackRepresentation.h"
19OF_ASSUME_NONNULL_BEGIN
29OF_SUBCLASSING_RESTRICTED
40@property (readonly, nonatomic) int8_t type;
45@property (readonly, nonatomic)
OFData *data;
55+ (instancetype)extensionWithType: (int8_t)type data: (
OFData *)data;
57- (instancetype)init OF_UNAVAILABLE;
67- (instancetype)initWithType: (int8_t)type
68 data: (
OFData *)data OF_DESIGNATED_INITIALIZER;
A class for storing arbitrary data in an array.
Definition: OFData.h:42
A class for representing the MessagePack extension type.
Definition: OFMessagePackExtension.h:33
The root class for all other classes inside ObjFW.
Definition: OFObject.h:688
A protocol for the creation of copies.
Definition: OFObject.h:1346
A protocol implemented by classes that support encoding to a MessagePack representation.
Definition: OFMessagePackRepresentation.h:29