> It seems like what you're saying is the only way to parse a 
> buffer is to write it to a file.  Am I correct in this assumption?

No, C++ streams are not file I/O, they're I/O period. Using a stream lets
you parse either one with the same input abstraction.

I use it to create object classes that deserialize from files, sockets,
buffers, etc with a single constructor. The parser doesn't know the
difference.

-- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to