Note: The CNetscapeStream class in intended to live only for as long as there is incoming data, but the base class makes no provision for passing on the stream data when the stream is finished. Your inheriting class is responsible for this behavior. See CPlainTextStream for an example of how this can be done.
static const long | kMaxBufSize | An arbitrarily large number for returning in WriteReady if you don't care how much data is passed in Write. |
NPStream* | mSourceStream | The Navigator stream structure that CNetscapeStream encapsulates. mSourceStream->pdata should be a pointer to this. |
char* | mMIMEType | The MIME-Type of the stream. |
NPBool | mSeekable | Indicates whether the stream is capable of seeking. You cannot actually use the seeking methods (NPN_RequestRead) unless mStreamType is set to NP_SEEK in the constructor. |
unsigned short | mStreamType | The transfer mode of the stream. Corresponds to *stype in NPP_NewStream. Changing this member will usually only be effective if done in the constructor. |
CNetscapeStream::CNetscapeStream( NPMIMEType type, NPStream* stream, NPBool seekable, uint16 stype )
type | The MIME type of the new incoming stream. |
stream | The Navigator stream structure which this class will encapsulate. |
seekable | Determines whether the stream is capable of seeking. |
stype | The default transfer method of the stream. |