StreamChunk

Stream chunk structure.

Synopsis

struct StreamChunk {
   unsigned long streamChunkType;
   unsigned long streamChunkSize;
   unsigned char streamChunkData[4];
}typedef struct StreamChunk StreamChunk, *StreamChunkPtr

Description

A logical data chunk embedded in the stream of blocks. The streamData type is used to search the stream's subscriber list, and any chunks that match existing subscribers are passed to the subscriber. Chunks that do not match any existing subscriber are ignored.

Note: All chunks must be quad byte aligned.

Fields

streamChunkType
4 byte ASCII subscriber data type.
streamChunkSize
Size of chunk including this header.
streamChunkData
Start of variable length data.

Associated Files

DataStream.h