A simple segment has an opening marker that identifies where it starts, and a closing marker that identifies where it ends. Thus, a simple segment has the following structure:
Opening marker
Data
Closing marker
The Streamer passes the segment to the specified transformation component, such as a Parser.
It is possible to omit some of the markers from the Streamer definition. For example:
If you omit the opening marker of the source header, the header is assumed to start at the beginning of the source.
If you omit the closing marker, then the segment ends at the opening marker of the next segment.