Re: [NSMutableData resetDataRangeTo:(NSRange)range];
Re: [NSMutableData resetDataRangeTo:(NSRange)range];
- Subject: Re: [NSMutableData resetDataRangeTo:(NSRange)range];
- From: SevenBits <email@hidden>
- Date: Sat, 12 Jul 2014 23:52:10 -0400
On Saturday, July 12, 2014, Carl Hoefs <email@hidden>
wrote:
> On Jul 12, 2014, at 1:51 PM, Matt Gough <email@hidden
> <javascript:;>> wrote:
>
> > [bigData replaceBytesInRange:NSMakeRange(0, 1024) withBytes:NULL
> length:0];
>
> Wow, I would never have thought to do that! Works perfectly!
You could also declare a category on NSMutableData to call that function in
a way that makes sense to you.
> Thx,
> -Carl
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden <javascript:;>)
>
> 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 <javascript:;>
_______________________________________________
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