21#import "OFMessagePackRepresentation.h"
23OF_ASSUME_NONNULL_BEGIN
32OF_SUBCLASSING_RESTRICTED
43@property (readonly, nonatomic) int8_t type;
58+ (instancetype)extensionWithType: (int8_t)type data: (
OFData *)data;
60- (instancetype)
init OF_UNAVAILABLE;
70- (instancetype)initWithType: (int8_t)type
71 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:36
OFData * data
The data of the extension.
Definition OFMessagePackExtension.h:49
The root class for all other classes inside ObjFW.
Definition OFObject.h:692
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
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