Differences From Artifact [32df9da0af]:
- File src/OFASN1Boolean.m — part of check-in [d276166f70] at 2018-10-13 21:40:15 on branch trunk — Initial ASN.1 DER parsing support (user: js, size: 1719) [annotate] [blame] [check-ins using]
To Artifact [c9cf50048c]:
- File src/OFASN1Boolean.m — part of check-in [d3207b2a3d] at 2018-10-13 22:58:53 on branch trunk — OFASN1*: Add -[description] (user: js, size: 1861) [annotate] [blame] [check-ins using]
| ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + | * file. */ #include "config.h" #import "OFASN1Boolean.h" #import "OFData.h" #import "OFString.h" #import "OFInvalidArgumentException.h" #import "OFInvalidFormatException.h" @implementation OFASN1Boolean @synthesize booleanValue = _booleanValue; |
| ︙ | |||
55 56 57 58 59 60 61 62 | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | + + + + + + + |
} @catch (id e) {
[self release];
@throw e;
}
return self;
}
- (OFString *)description
{
return (_booleanValue
? @"<OFASN1Boolean: true>"
: @"<OFASN1Boolean: false>");
}
@end
|