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

Output Stream to buffer



If you need the straight unparsed output the take a look at the
HTXParse files. Here's a quote:

  This version of the stream object is a hook for clients that want an
  unparsed stream from libwww. The HTExtParse_put_* and HTExtParse_write
  routines copy the content of the incoming buffer into a buffer that is
  realloced whenever necessary. This buffer is handed over to the client
  in HTExtParse_free.

-Mark

Jeff Reagen writes:
 > 
 > I'd like to send my output stream to a buffer in memory instead of
 > the console or a file. Does anyone know whether this support already 
 > exists? I didn't see it looking through the basic stream support
 > documentation.