Differences From Artifact [507fa08959]:
- File
src/OFData.h
— part of check-in
[6cf7d6c33e]
at
2017-11-26 14:29:40
on branch trunk
— OFData: Change no copy handling
OFMutableData supports no copy now by just copying anyway and freeing if
required. (user: js, size: 8810) [annotate] [blame] [check-ins using]
To Artifact [f36923fc9a]:
- File src/OFData.h — part of check-in [99cb9ac6f9] at 2018-01-03 00:42:15 on branch trunk — -[initWithContentsOfURL:]: Use OFURLHandler (user: js, size: 8748) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
239 240 241 242 243 244 245 | * * @param path The path of the file * @return An initialized OFData */ - (instancetype)initWithContentsOfFile: (OFString *)path; #endif | < < | 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 | * * @param path The path of the file * @return An initialized OFData */ - (instancetype)initWithContentsOfFile: (OFString *)path; #endif /*! * @brief Initializes an already allocated OFData with an item size of 1, * containing the data of the specified URL. * * @param URL The URL to the contents for the OFData * @return A new autoreleased OFData */ - (instancetype)initWithContentsOfURL: (OFURL *)URL; /*! * @brief Initializes an already allocated OFData with an item size of 1, * containing the data of the string representation. * * @param string The string representation of the data * @return A new autoreleased OFData |
︙ | ︙ |