@@ -337,10 +337,59 @@ return [[[self alloc] initWithCount: count itemSize: itemSize allowsSwappableMemory: allowsSwappableMemory] autorelease]; } + ++ (instancetype)dataWithItems: (const void *)items count: (size_t)count +{ + OF_UNRECOGNIZED_SELECTOR +} + ++ (instancetype)dataWithItems: (const void *)items + count: (size_t)count + itemSize: (size_t)itemSize +{ + OF_UNRECOGNIZED_SELECTOR +} + ++ (instancetype)dataWithItemsNoCopy: (void *)items + count: (size_t)count + freeWhenDone: (bool)freeWhenDone +{ + OF_UNRECOGNIZED_SELECTOR +} + ++ (instancetype)dataWithItemsNoCopy: (void *)items + count: (size_t)count + itemSize: (size_t)itemSize + freeWhenDone: (bool)freeWhenDone +{ + OF_UNRECOGNIZED_SELECTOR +} + +#ifdef OF_HAVE_FILES ++ (instancetype)dataWithContentsOfFile: (OFString *)path +{ + OF_UNRECOGNIZED_SELECTOR +} +#endif + ++ (instancetype)dataWithContentsOfIRI: (OFIRI *)IRI +{ + OF_UNRECOGNIZED_SELECTOR +} + ++ (instancetype)dataWithStringRepresentation: (OFString *)string +{ + OF_UNRECOGNIZED_SELECTOR +} + ++ (instancetype)dataWithBase64EncodedString: (OFString *)string +{ + OF_UNRECOGNIZED_SELECTOR +} - (instancetype)initWithCount: (size_t)count allowsSwappableMemory: (bool)allowsSwappableMemory { return [self initWithCount: count @@ -419,10 +468,37 @@ OF_INVALID_INIT_METHOD } - (instancetype)initWithItemSize: (size_t)itemSize { + OF_INVALID_INIT_METHOD +} + +- (instancetype)initWithItems: (const void *)items count: (size_t)count +{ + OF_INVALID_INIT_METHOD +} + +- (instancetype)initWithItems: (const void *)items + count: (size_t)count + itemSize: (size_t)itemSize +{ + OF_INVALID_INIT_METHOD +} + +- (instancetype)initWithItemsNoCopy: (void *)items + count: (size_t)count + freeWhenDone: (bool)freeWhenDone +{ + OF_INVALID_INIT_METHOD +} + +- (instancetype)initWithItemsNoCopy: (void *)items + count: (size_t)count + itemSize: (size_t)itemSize + freeWhenDone: (bool)freeWhenDone +{ OF_INVALID_INIT_METHOD } #ifdef OF_HAVE_FILES - (instancetype)initWithContentsOfFile: (OFString *)path