105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
- (OFData *)messagePackRepresentation
{
uint8_t type = 0xC0;
return [OFData dataWithItems: &type
count: 1];
}
- (instancetype)autorelease
{
return self;
}
- (instancetype)retain
|
>
>
>
>
>
>
>
>
|
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
- (OFData *)messagePackRepresentation
{
uint8_t type = 0xC0;
return [OFData dataWithItems: &type
count: 1];
}
- (OFData *)ASN1DERRepresentation
{
const unsigned char bytes[] = { OF_ASN1_TAG_NUMBER_NULL, 0 };
return [OFData dataWithItems: bytes
count: sizeof(bytes)];
}
- (instancetype)autorelease
{
return self;
}
- (instancetype)retain
|