On Jul 15, 2014, at 9:50 AM, Carl Hoefs <newsli...@autonomy.caltech.edu> wrote:
> Awesome! I had been wondering if this concept existed in Cocoa, didn't see it > in the NSData docs. It's sort of like using iovec structs with readv/writev > for sockets. I would primarily use the dispatch_data_create_map() function, > right? Looks like it's supported in OS X 10.7+. Très cool. I’ve seen evidence that NSData/CFData supports data objects built out of multiple non-contiguous buffers, because I’ve received some such objects in an NSURLConnection delegate callback. There just doesn’t appear to be any public API for _creating_ such an NSData object, sadly. —Jens _______________________________________________ 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