Re: combining NSData objects?
Re: combining NSData objects?
- Subject: Re: combining NSData objects?
- From: Nick Zitzmann <email@hidden>
- Date: Sun, 20 Feb 2005 20:36:41 -0700
On Feb 20, 2005, at 8:03 PM, justin webster wrote:
how do I replace a range of bytes in an NSdata object?
You can't; NSData objects are immutable.
or - how do I join NSdata the way I join strings?
You can use NSMutableData for this. NSMutableData has two append
methods you can use; see the NSMutableData documentation for details.
You can use the -mutableCopy method to get a mutable version of an
NSData object.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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