26 #ifndef CIRCULARBUFFER_HPP    27 #define CIRCULARBUFFER_HPP    53     std::size_t 
read(
Byte *data, std::size_t size);
    55     std::size_t 
write(
const Byte *data, std::size_t size);
    65     std::size_t 
toRead() 
const;
    79 #endif // CIRCULARBUFFER_HPP 
~CircularBuffer()=default
 
std::size_t read(Byte *data, std::size_t size)
 
This is the header file for a generated source file, GitSHA1.cpp. 
 
buffer-related helper functions 
 
Implementation of a ring buffer. 
 
static const std::size_t DefaultSize
 
CircularBuffer(std::size_t size=DefaultSize)
 
std::size_t toRead() const
 
std::size_t getSize() const
 
std::size_t write(const Byte *data, std::size_t size)
 
std::vector< Byte > _buffer
 
Byte operator[](int idx) const
 
void fastForward(std::size_t offset)