@@ -306,12 +306,19 @@ * * @param path The path of the file to write to */ - (void)writeToFile: (OFString *)path; #endif + +/*! + * @brief Writes the OFData to the specified URL. + * + * @param URL The URL to write to + */ +- (void)writeToURL: (OFURL *)URL; @end OF_ASSUME_NONNULL_END #import "OFMutableData.h" #import "OFData+CryptoHashing.h" #import "OFData+MessagePackValue.h"