An open API service indexing awesome lists of open source software.

https://github.com/codiepp/stream-cpp

Streaming in C++
https://github.com/codiepp/stream-cpp

Last synced: 4 months ago
JSON representation

Streaming in C++

Awesome Lists containing this project

README

          

# stream-cpp

simple streaming library with two modes:

- `push` a processed buffer to a target stream
- `pull` a buffer from a source stream and process
- access read-only configuration
- update state

![stream-cpp pipeline](img/stream_buf_state_config.png)

## dependency

this builds on the package [sizebounded](https://github.com/CodiePP/sizebounded).

## implementation

derive from class `stream` and provide an implementation of the function:

```
virtual int process(Ct const * const _config, St *_state, int _len, sizebounded& _buf) const
```