Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Removing redundant data

Removing redundant data
Thread Tools
Syphor
Junior Member
Join Date: Jul 2002
Location: Australia
Status: Offline
Reply With Quote
Jul 26, 2003, 06:42 AM
 
Hey all,
I have a NSMutableData item named dataItem... and it has some redundant data in it... eg:

NSLog(@"dataItem - %@",dataItem);

Outputs:

Code:
<040b7479 70656473 74726561 6d8103e8 84014084 8484084e 84016997 75860000 0000>
How can I only get the data that doesn't have the 0000s....

I was thinking of using - (NSData*)subdataWithRange but how would I be able to get the range of it?
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 01:05 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,