home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / programm / 5920 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.1 KB  |  28 lines

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