@@ -24,11 +24,11 @@ @implementation OFMessagePackExtension @synthesize type = _type, data = _data; + (instancetype)extensionWithType: (int8_t)type - data: (OFDataArray*)data + data: (OFDataArray *)data { return [[[self alloc] initWithType: type data: data] autorelease]; } @@ -36,11 +36,11 @@ { OF_INVALID_INIT_METHOD } - initWithType: (int8_t)type - data: (OFDataArray*)data + data: (OFDataArray *)data { self = [super init]; @try { if (data == nil || [data itemSize] != 1) @@ -61,11 +61,11 @@ [_data release]; [super dealloc]; } -- (OFDataArray*)messagePackRepresentation +- (OFDataArray *)messagePackRepresentation { OFDataArray *ret; uint8_t prefix; size_t count = [_data count]; @@ -148,11 +148,11 @@ count: [_data count]]; return ret; } -- (OFString*)description +- (OFString *)description { return [OFString stringWithFormat: @"", _type, _data]; }