paring binary files - basic understanding question of the OO Way

Guenther Schmidt gue.schmidt at web.de
Fri Aug 6 12:29:05 UTC 2004


Hi,

I'm trying to write a parser for binary files (excel) and wow! I've 
already figured out how to use streams ;-).

Now comes a problem with basic understanding of OO.

As I read from the stream byte by byte how can I 'parse' the byte i.e. 
give it it's meaning or create the proper object?

Does it realy come down to if byte = xxx ... else ... else ...? I mean 
this doesn't seem very OO to me.

Please help.

Regards

Guenther




More information about the Squeak-dev mailing list