Re: Reading a binary file format?
Re: Reading a binary file format?
- Subject: Re: Reading a binary file format?
- From: Keith Blount <email@hidden>
- Date: Fri, 12 Oct 2007 12:03:59 -0700 (PDT)
Thanks for the replies so far - and thank you Uli for
the tutorial. I should perhaps clarify that I'm not a
complete newbie (although I am compared to you guys :)
) - I'm the author of a relatively popular and
complicated piece of Cocoa shareware, so I would hate
anyone to come across this thread and think, "He
doesn't know what he's doing!". :) So, although your
tutorial looks brilliant, I am familiar with those
aspects of C. One of the beauties of Objective-C,
however, is that you can write rather complex pieces
of software without worrying about too much low-level
C stuff. Sure, I use some C arrays, structures and
stuff here and there, but when it comes to reading in
bytes from a binary file I fully admit its beyond my
comfort zone.
Robert - I will contact you off-list because I would
definitely be interested in your Cocoa classes.
Douglas and Stephen - thank you for the explanations,
much appreciated.
Once again, many thanks for the replies so far, I
really appreciate your taking the time to help a very
baffled man.
All the best,
Keith
--- Uli Kusterer <email@hidden> wrote:
> Am 12.10.2007 um 01:50 schrieb Douglas Davidson:
> > For every value you read from the file, ask
> yourself what would
> > happen if some malicious person went in and
> changed those bytes in
> > the file to some nonsensical value--because there
> are people out
> > there who will do that. I would advise at the
> very least a
> > thorough understanding of C pointers and pointer
> arithmetic.
>
> I guess this is the point where I shamelessly plug
> my C tutorial
> again:
>
>
>
<http://www.zathras.de/angelweb/masters-of-the-void.htm>
>
> It takes care to introduce people to pointers and
> most of the other C
> stuff that you'll have to understand to do anything
> but the most
> simple Cocoa program, and is perfectly suitable for
> cases like this.
>
> Cheers,
> -- M. Uli Kusterer
> http://www.zathras.de
>
>
>
>
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
_______________________________________________
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