76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
{
char buffer[] = {
OF_ASN1_TAG_NUMBER_BOOLEAN,
1,
(_booleanValue ? 0xFF : 0x00)
};
return [OFData dataWithItems: buffer
count: sizeof(buffer)];
}
- (bool)isEqual: (id)object
{
OFASN1Boolean *boolean;
if (object == self)
|
|
<
|
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
{
char buffer[] = {
OF_ASN1_TAG_NUMBER_BOOLEAN,
1,
(_booleanValue ? 0xFF : 0x00)
};
return [OFData dataWithItems: buffer count: sizeof(buffer)];
}
- (bool)isEqual: (id)object
{
OFASN1Boolean *boolean;
if (object == self)
|