discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Missing interface that connects NSCoder to NSStream ?


From: Vaisburd, Haim
Subject: RE: Missing interface that connects NSCoder to NSStream ?
Date: Tue, 13 Mar 2007 17:57:49 -0700

Helge,

I missed one phrase in your previous mail:

> Notably streaming only makes sense if you are really exchanging a LOT
of data
> (rather unlikely for typical JSON applications).

I wanted to use NS*Streams because they seemed like a proper way to
isolate
the input/output from the "media" (memory buffer, file, socket can be
dealt with
uniformely), but I might have been drawing too much from my C++ habits
(where reading/writing with std::istream/std::ostream is the standard
practice).

Does OPENSTEP/Cocoa offer better mechanism that works like C++ stream,
i.e. let you disregard the source of data and concentrate on formatting?

Thank you,
Tima.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]