Re: More GC. Now with NSData
Re: More GC. Now with NSData
- Subject: Re: More GC. Now with NSData
- From: Alastair Houghton <email@hidden>
- Date: Mon, 26 Nov 2007 20:50:35 +0000
On 26 Nov 2007, at 20:38, Paul Sargent <email@hidden> wrote:
Just to be clear, -subdataWithRange will make a copy of the data
into it's own buffer, which the new NSData will own. Hence it'll be
safe. Right?
It might not make an actual copy if you're using an immutable NSData,
but that's an implementation detail. The important thing is that it
will be safe.
Kind regards,
Alastair
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden