Differences From Artifact [1b99b6d639]:
- File
src/OFData.h
— part of check-in
[dae363ef82]
at
2018-02-16 22:25:08
on branch trunk
— Remove OF_UNAVAILABLE from two -[init] methods
These were unavailable in the immutable class, but available in the
mutable subclass. However, Clang 3.4 does not support this. (user: js, size: 9468) [annotate] [blame] [check-ins using]
To Artifact [666bc4047e]:
- File src/OFData.h — part of check-in [4075c3beaf] at 2018-10-13 21:39:23 on branch trunk — Add -[OFData subdataWithRange:] (user: js, size: 9732) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
38 39 40 41 42 43 44 45 46 47 48 49 50 51 | */ @interface OFData: OFObject <OFCopying, OFMutableCopying, OFComparing, OFSerialization, OFMessagePackRepresentation> { unsigned char *_items; size_t _count, _itemSize; bool _freeWhenDone; } /*! * @brief The size of a single item in the OFData in bytes. */ @property (readonly, nonatomic) size_t itemSize; | > | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | */ @interface OFData: OFObject <OFCopying, OFMutableCopying, OFComparing, OFSerialization, OFMessagePackRepresentation> { unsigned char *_items; size_t _count, _itemSize; bool _freeWhenDone; OFData *_parentData; } /*! * @brief The size of a single item in the OFData in bytes. */ @property (readonly, nonatomic) size_t itemSize; |
︙ | ︙ | |||
275 276 277 278 279 280 281 282 283 284 285 286 287 288 | * @brief Returns a specific item of the OFData. * * @param index The number of the item to return * @return The specified item of the OFData */ - (const void *)itemAtIndex: (size_t)index OF_RETURNS_INNER_POINTER; /*! * @brief Returns the range of the data. * * @param data The data to search for * @param options Options modifying search behavior.@n * Possible values are: * Value | Description | > > > > > > > > | 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | * @brief Returns a specific item of the OFData. * * @param index The number of the item to return * @return The specified item of the OFData */ - (const void *)itemAtIndex: (size_t)index OF_RETURNS_INNER_POINTER; /*! * @brief Returns the data in the specified range as a new OFData. * * @param range The range of the data for the new data * @return The data in the specified range as a new OFData */ - (OFData *)subdataWithRange: (of_range_t)range; /*! * @brief Returns the range of the data. * * @param data The data to search for * @param options Options modifying search behavior.@n * Possible values are: * Value | Description |
︙ | ︙ |