1 #ifndef pfodRingBuffer_h
2 #define pfodRingBuffer_h
32 void init(uint8_t* _buf,
size_t _size);
51 size_t write(
const uint8_t *buffer,
size_t size);
60 uint16_t buffer_count;
61 uint16_t wrapBufferIdx(uint16_t idx);
63 uint16_t writeMarkCount;
pfodRingBuffer for Arduino Implements a ring buffer implementation of an Arduino Stream upto 32K buff...
void copyTo(Print *outputPtr)
copyTo() copies contents to the print stream unlike read() copyTo does not remove any data from the b...
pfodRingBuffer(uint8_t *_buf, size_t _size)
size_t write(const uint8_t *buffer, size_t size)
void init(uint8_t *_buf, size_t _size)
_buf must be at least _size in length _size is limited to 32766