@@ -16,11 +16,11 @@ #import "OFObject.h" OF_ASSUME_NONNULL_BEGIN -@class OFDataArray; +@class OFData; /*! * @protocol OFMessagePackRepresentation * OFMessagePackRepresentation.h ObjFW/OFMessagePackRepresentation.h * @@ -27,14 +27,13 @@ * @brief A protocol implemented by classes that support encoding to a * MessagePack representation. */ @protocol OFMessagePackRepresentation /*! - * @brief Returns the MessagePack representation of the object as an - * OFDataArray. + * @brief Returns the MessagePack representation of the object as OFData. * - * @return The MessagePack representation of the object as an OFDataArray. + * @return The MessagePack representation of the object as OFData. */ -- (OFDataArray *)messagePackRepresentation; +- (OFData *)messagePackRepresentation; @end OF_ASSUME_NONNULL_END