Re: adding byte by byte to a NSMutableData object
Re: adding byte by byte to a NSMutableData object
- Subject: Re: adding byte by byte to a NSMutableData object
- From: Ben Dougall <email@hidden>
- Date: Sat, 4 Oct 2003 21:43:18 +0100
On Saturday, October 4, 2003, at 07:58 pm, Dustin Voss wrote:
The two fastest ways to add bytes to an NSMutableData, if the bytes
aren't already in an NSData object, seem to be addBytes:length:, or
increaseLengthBy: and set the new bytes with mutableBytes.
thanks for the reply.
even on a single byte by single byte basis?
i'm reading a small chunk of data from the first NSData object and
changing it, then sticking that onto the end of the second
NSMutableData object (attempting to decode ASCII85 data) so a direct
pointer way seemed a better way but i wasn't sure if the way i showed
even worked. i know *think* it may well have been ok and it something
else that was going wrong.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.