A Stream represents a sequence of raw data bytes without length information.
Streams may appear in these variants:
The length of a Stream is undefined if it cannot be determined based on information provided in the MOST FBlock Library or MOST Function Catalog. For example, this is the case for Unstructured Streams or Streams with parameter repetition. It is recommended, not to use Simple Streams, Unstructured Streams, cyclically recurring Stream parameters, and Stream Signals.
If a message contains a data type Stream with undefined length and the Stream is not embedded in a Short Stream, this Stream shall be at the end of the message. If a Short Stream contains a data type Stream with undefined length, this Stream shall be at the end of the Short Stream.
When the Stream with undefined length appears at the end of the message, the Stream length is based on the message length. When a Stream is embedded in a Short Stream, the length of the Stream can be determined by using the length information of the Short Stream.