NSData. add 6 bytes to NSData
NSData. add 6 bytes to NSData
- Subject: NSData. add 6 bytes to NSData
- From: Carlo Gulliani <email@hidden>
- Date: Sat, 4 Jul 2009 04:47:31 -0700 (PDT)
Hi, everybody, I need to add 6 bytes to my NSData
steps:
1. write into NSData
NSData *data = [NSData dataWithBytes:(const char*)&packet length:sizeof(packet)];
2. read from NSData
3. In loop i need to add 6 bytes
4. And again wtite into NSData
first step i did, and from 2 to 4 i dont know how to do. Anybody could help me? Thanks in advance!
_______________________________________________
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