Circular buffer implementation for the Arduino
C++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CircBuffer.cpp
CircBuffer.h
README.md

README.md

CircBuffer

CircBuffer is an Arduino library implementing a single-reader circular buffer. The library allows a single writer to insert data, with a single reader extracting data from the same shared buffer. The implementation does not use malloc(), instead the caller must provide the buffer space and length when creating the CircBuffer object. Any buffer size between 1 and max int -1 is valid. For a more complete implementation featuring multiple readers and optional overwrite protection see https://github.com/stevemarple/MultiReadCircBuffer