home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!decwrl!csus.edu!netcom.com!abell
- From: abell@netcom.com (Steven T. Abell)
- Subject: Streams and TypedStreams
- Message-ID: <q+kn1fp.abell@netcom.com>
- Date: Wed, 02 Sep 92 04:13:39 GMT
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Distribution: na
- Lines: 17
-
- Some questions:
-
- 1) Apparently, NXTypedStreams are not structural extensions of NXStreams.
- If you have a pointer to an NXTypedStream, can you find the NXStream
- associated with it? DL says repeatedly that NXTypedStream is private, and
- I can't find any functions that do this.
-
- 2) If you do have pointers to both structures, can you read some objects
- using the TypedStream functions, then read a bunch of bytes using NXRead
- or NXScanf (which take NXStream*), then read some more objects with the
- TypedStream functions? Will this mess up any kind of coherency that may
- be required in the two structs?
-
- I'm trying to read strings associated with objects, without committing them
- to the heap, as NXReadType does with "*".
-
- Steve abell@netcom.com
-