Template based Stream interface that provides only most necessary methods. More...
#include <Simple_Stream.h>

Public Member Functions | |
| virtual int | Read (T *buf, size_t count, size_t *read)=0 |
| Reads a number of T values from stream. | |
| virtual int | Write (T *buf, size_t count, size_t *written)=0 |
| Writes a number of T values to stream. | |
| virtual int | Flush ()=0 |
| Flushes the internal buffer, useful when you need to make sure the data is passed to the Stream backend (could be some file) from Stream internal buffer. | |
Template based Stream interface that provides only most necessary methods.