Small library for using circular buffers (forked from François Berder's implementation in order to add methods and fix problems)
Dependents: CircularBufferTest XBeeApi
Fork of CircularBuffer by
Test suite can be found in this application, CircularBufferTest
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
8:d318a6948091 | 2014-01-30 | johnb | Add [] operator |
7:e2d532183250 | 2014-01-18 | johnb | Fix to peek() not handling the buffer length correctly; Add "chomp" method |
6:242d0e9f13d1 | 2014-01-18 | johnb | Attempt to fix bug whereby getSize() would not return correctly. Previously:; ; char c;; // getSize == 0; x.write( &c, 1 );; // getSize == 1; w.read( &c, 1 );; // getSize() == 512 ! |
5:abe8909f9603 | 2014-01-18 | johnb | Add missing includes |
4:e15dee1d59ee | 2013-09-20 | feb11 | added comments |
3:9a45d6675e65 | 2013-09-20 | feb11 | added functions |
2:6f3630f5fa06 | 2013-09-20 | feb11 | initial import |
1:9953890d59e2 | 2013-09-16 | feb11 | fixed bug |
0:5d058c917599 | 2013-09-16 | feb11 | initial import |