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++
- Host: GitHub
- URL: https://github.com/codiepp/stream-cpp
- Owner: CodiePP
- License: bsd-3-clause
- Created: 2019-12-10T21:53:51.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2022-02-04T08:21:03.000Z (about 4 years ago)
- Last Synced: 2025-07-19T08:23:43.001Z (7 months ago)
- Language: C++
- Size: 67.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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

## 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
```