Libftpp
A modern C++ library
ring_buffer.hpp File Reference
#include <stddef.h>
#include <iostream>
#include <stdexcept>
#include <vector>
+ Include dependency graph for ring_buffer.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RingBuffer
 RingBuffer class for managing a circular buffer of bytes. It provides methods to push and pop bytes, check buffer status, and retrieve buffer capacity and size. RingBuffer is a FIFO data structure The buffer operates in a circular manner, allowing efficient use of space. More...
 

Macros

#define MAX_BUFFER_SIZE   65550
 

Macro Definition Documentation

◆ MAX_BUFFER_SIZE

#define MAX_BUFFER_SIZE   65550

Definition at line 10 of file ring_buffer.hpp.