Table of Contents

SteereoStream

Description

The SteereoStream manages a dynamic byte array and provides functions to append and get data out of it. As most kind of data can be stored into a SteereoStream is used for nearly all send and receive operations.

Usage and Functions

Normally you will use the streaming operators (« and ») to put data into the stream and to get data out of it. If no more data is available to read a warning will be issued. If you want to write something into a “full” stream, it tries to resize itself. You should allocate the needed memory before writing to the stream, otherwise you will have a resize of the stream after every written variable.
These functions are available besides the streaming operators: