On 14 Jul 2014, at 11:12 am, Carl Hoefs <newsli...@autonomy.caltech.edu> wrote:

> Okay, now if I want to insert 1024 bytes of new data at the beginning of a 
> populated NSMutableArray, is there a better way than this:

Sure; why not just do [bigMData replaceBytesInRange:NSMakeRange(0,0) 
withBytes:newBytesPtr length:1024]; ...?

-ben


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to