Article View: comp.sys.next.programmer
Article #1001Streams and TypedStreams
From: Steven T. Abell
Date: Wed, 02 Sep 1992 04:13
Date: Wed, 02 Sep 1992 04:13
17 lines
1109 bytes
1109 bytes
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
Technical Details
Message-ID:
<q+kn1fp.abell@netcom.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!netcom.com!abellShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!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