OSRTSTREAM Struct Reference
[Input/Output Data Stream Utility Functions]

#include <rtxStream.h>

List of all members.

Public Attributes

OSRTStreamReadProc read
OSRTStreamBlockingReadProc blockingRead
OSRTStreamWriteProc write
OSRTStreamFlushProc flush
OSRTStreamCloseProc close
OSRTStreamSkipProc skip
OSRTStreamMarkProc mark
OSRTStreamResetProc reset
OSRTStreamGetPosProc getPos
OSRTStreamSetPosProc setPos
void * extra
size_t bufsize
size_t readAheadLimit
size_t bytesProcessed
size_t markedBytesProcessed
size_t ioBytes
size_t nextMarkOffset
size_t segsize
OSUINT32 id
OSRTMEMBUFpCaptureBuf
OSUINT16 flags

Detailed Description

The stream control block. A user may implement a customized stream by defining read, skip, close functions for input streams and write, flush, close for output streams.


Member Data Documentation

pointer to blockingRead function

physical size of pctxt->buffer.data buffer

the number of bytes processed by the application program

pointer to close function

pointer to stream-specific data

flags (see OSRTSTRMF_* macros

pointer to flush function

pointer to getPos function

OSUINT32 OSRTSTREAM::id

id of stream (see OSRTSTRMID_* macros)

the actual number of bytes read from or written to the stream

pointer to mark function

the marked number of bytes already processed

offset of next appropriate mark position

Buffer into which data read from stream can be captured for debugging purposes.

pointer to read function

read ahead limit (used by rtxStreamMark/rtxStreamReset

pointer to reset function

size of decoded segment

pointer to setPos function

pointer to skip function

pointer to write function


The documentation for this struct was generated from the following file: