Re: EXC_BAD_ACCESS in NSData
Re: EXC_BAD_ACCESS in NSData
- Subject: Re: EXC_BAD_ACCESS in NSData
- From: Uli Kusterer <email@hidden>
- Date: Mon, 26 May 2014 06:16:06 -0700
On 26 May 2014, at 06:02, Pax <email@hidden> wrote:
> This is my snippet of code:
> [datastream getBytes:&bytes range:NSMakeRange(positionCounter, datasize)]; // Length of packet content
> positionCounter+= datasize;
What is bytes declared as, and what do you initialize it to?
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de
_______________________________________________
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