|
Joedb 10.3.0
The Journal-Only Embedded Database
|
#include <joedb/journal/Buffer.h>
Public Member Functions | |
| template<typename T > | |
| void | write (T x) |
| template<typename T > | |
| T | read () |
| template<typename T > | |
| void | compact_write (T x) |
| template<typename T > | |
| T | compact_read () |
Public Attributes | |
| char | data [size+extra_size] |
| size_t | index |
Static Public Attributes | |
| static constexpr size_t | size = (1 << log_size) |
| static constexpr ptrdiff_t | ssize = (1 << log_size) |
| static constexpr size_t | extra_size = 8 |
|
inline |
| char joedb::Buffer< log_size >::data[size+extra_size] |
|
staticconstexpr |
| size_t joedb::Buffer< log_size >::index |
|
staticconstexpr |
|
staticconstexpr |