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
History
Add [] operator
2014-01-30, by johnb [Thu, 30 Jan 2014 20:15:33 +0000] rev 8
Add [] operator
Fix to peek() not handling the buffer length correctly; Add "chomp" method
2014-01-18, by johnb [Sat, 18 Jan 2014 22:32:30 +0000] rev 7
Fix to peek() not handling the buffer length correctly; Add "chomp" method
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 !
2014-01-18, by johnb [Sat, 18 Jan 2014 18:01:03 +0000] rev 6
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 !
Add missing includes
2014-01-18, by johnb [Sat, 18 Jan 2014 17:56:32 +0000] rev 5
Add missing includes
added comments
2013-09-20, by feb11 [Fri, 20 Sep 2013 10:32:30 +0000] rev 4
added comments
added functions
2013-09-20, by feb11 [Fri, 20 Sep 2013 10:04:23 +0000] rev 3
added functions
initial import
2013-09-20, by feb11 [Fri, 20 Sep 2013 09:16:45 +0000] rev 2
initial import
fixed bug
2013-09-16, by feb11 [Mon, 16 Sep 2013 14:54:26 +0000] rev 1
fixed bug
initial import
2013-09-16, by feb11 [Mon, 16 Sep 2013 14:35:39 +0000] rev 0
initial import