On Dec 22, 2011, at 10:04 PM, Charles Srstka wrote:

> On Dec 22, 2011, at 11:30 AM, Alexander Reichstadt wrote:
> 
>> I should add, you are right in that it also says:
>> 
>> n+1, 1 byte, 0x0D stored as the Field Descriptor terminator.
>> 
>> Everything from byte 68 on is then a multiple of 48 bytes, so I can simply 
>> check on each 67+(n*48)+1 to see if that byte is 0x0D, which is the marker 
>> position of which to follow Mike's advise on getting the subdata.
> 
> So parse the fields in the header that tell you how long it’s supposed to be, 
> and read the data where the actual string is supposed to start. It’ll 
> probably actually take less time overall than trying to come up with all 
> these workarounds.
> 
> If you’re going to do something, might as well do it right.

That's a fantastic tip Charles.

By the way, it's "advice", not "advise".  Advice is the noun.  Advise is the 
verb.  Advice is what you give when we advise people.

In any case, you've given me some information to dive into some old data 
streams, thanks._______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to