80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
objc_autoreleasePoolPop(pool);
return [element autorelease];
}
- (OFString *)JSONRepresentation
{
return [self of_JSONRepresentationWithOptions: 0
depth: 0];
}
- (OFString *)JSONRepresentationWithOptions: (int)options
{
return [self of_JSONRepresentationWithOptions: options
depth: 0];
}
- (OFString *)of_JSONRepresentationWithOptions: (int)options
depth: (size_t)depth
{
return @"null";
}
- (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;
}
|
|
<
|
<
<
|
<
<
|
<
|
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
objc_autoreleasePoolPop(pool);
return [element autorelease];
}
- (OFString *)JSONRepresentation
{
return [self of_JSONRepresentationWithOptions: 0 depth: 0];
}
- (OFString *)JSONRepresentationWithOptions: (int)options
{
return [self of_JSONRepresentationWithOptions: options depth: 0];
}
- (OFString *)of_JSONRepresentationWithOptions: (int)options
depth: (size_t)depth
{
return @"null";
}
- (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;
}
|