Search completed in 1.08 seconds.
Streams - Plugins
np_seek: the plug-in instance can randomly access stream data as needed, through calls to npn_requestread.
...this applies to all plug-in modes except
np_seek.
... random-access mode is determined in npp_newstream by setting the mode
np_seek.
...And 3 more matches
NPN_RequestRead - Archive of obsolete content
syntax #include <npapi.h> nperror npn_requestread(npstream* stream, npbyterange* rangelist); parameters the function has the following parameters: stream stream of type
np_seek from which to read bytes.
...seekable streams are created by calling npp_newstream() with
np_seek as the stype mode.
... the plug-in can call npn_requestread() on streams that were not initially in
np_seek mode as long as the stream is inherently seekable; npn_requestread() automatically changes the mode to
np_seek.
...And 2 more matches
NPP_NewStream - Archive of obsolete content
np_seek: stream data randomly accessible by the plug-in as needed, through calls to npn_requestread.
...
np_seek: stream data is not automatically delivered to the instance, but can be randomly accessed by the plug-in as needed, through calls to npn_requestread.
... if the stream is not seekable, placing the stream in
np_seek mode causes the browser to save the entire stream to the disk cache.
... note: in any mode other than
np_seek, the application should call npp_destroystream once all data in the stream has been written to the plug-in.