Article View: comp.sys.next.programmer
Article #1422Re: help with streams please
From: andrew
Date: Fri, 09 Oct 1992 23:00
Date: Fri, 09 Oct 1992 23:00
29 lines
1569 bytes
1569 bytes
In article <4ep3D7i00iUxE1J0Yj@andrew.cmu.edu> js3b+@andrew.cmu.edu (James Vincent Schultz) writes:
>
>I'm just starting out as a NeXT programmer, so please forgive me if I'm
>missing something obvious.
>
>I'd like to use the NXReadTypes & NXWriteTypes functions to temporarily store
>some instance variables in memory. I looked in NeXT Concepts and the
>NeXTStep Reference to come up with the idea of opening a memory stream,
>converting that to a typed stream, and passing that to my object.
>
>This is great except that you have to open a stream NX_READONLY or
>NX_WRITEONLY. I can't figure out how to do both. I want to write to a
>stream, then come back a while later and read the values back.
>
>How can I read & write a stream?
NX_READWRITE
everbody should index /usr/include and put it on their default
bookshelf. It's already done for you in 3.0 (and there's also
header-viewer in 3.0...)
andrew
--
andrew@cubetech.com | "We shall not cease from exploration
Andrew Loewenstern | And the end of our exploring
Cube Technologies, Inc. | Will be to arrive where we started
| And know the place for the first time." -T.S. Eliot
Technical Details
Message-ID:
<1992Oct9.230027.1638@cubetech.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!psinntp!psinntp!cubetech.com!imladris!andrewReferences:
<4ep3D7i00iUxE1J0Yj@andrew.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!psinntp!psinntp!cubetech.com!imladris!andrew From: andrew@cubetech.com Newsgroups: comp.sys.next.programmer Subject: Re: help with streams please Message-ID: <1992Oct9.230027.1638@cubetech.com> Date: 9 Oct 92 23:00:27 GMT References: <4ep3D7i00iUxE1J0Yj@andrew.cmu.edu> Organization: Cube Technologies, Inc. Lines: 29