Re: writing huge C-array to a file
Re: writing huge C-array to a file
- Subject: Re: writing huge C-array to a file
- From: j o a r <email@hidden>
- Date: Fri, 15 Sep 2006 21:32:03 +0200
On 15 sep 2006, at 21.23, Greg Hoover wrote:
Is there a way to retain data from an NSData object such that when
it is deallocated, it's data memory is not?
Yes, use the "-initWithBytesNoCopy:length:freeWhenDone:" initializer,
and pass NO for the last parameter.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden