Differences From Artifact [50ff4e3845]:
- File src/OFNull.m — part of check-in [bceb7ed4c9] at 2019-03-08 00:35:48 on branch trunk — Use dot syntax (user: js, size: 2434) [annotate] [blame] [check-ins using] [more...]
To Artifact [4ab8ff3bdf]:
- File src/OFNull.m — part of check-in [cbaae715ce] at 2019-06-25 20:53:23 on branch trunk — Add OFASN1DERRepresentation protocol (user: js, size: 2607) [annotate] [blame] [check-ins using]
︙ | |||
105 106 107 108 109 110 111 112 113 114 115 116 117 118 | 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 |
︙ |