![]() |
MDBX Containers
|
Storing a custom struct with to_bytes/from_bytes. More...
Public Member Functions | |
| std::vector< uint8_t > | to_bytes () const |
Static Public Member Functions | |
| static MyData | from_bytes (const void *data, size_t size) |
Public Attributes | |
| int | id |
| double | value |
Storing a custom struct with to_bytes/from_bytes.
Definition at line 11 of file custom_struct_example.cpp.
|
inlinestatic |
Definition at line 21 of file custom_struct_example.cpp.
|
inline |
Definition at line 15 of file custom_struct_example.cpp.
| int MyData::id |
Definition at line 12 of file custom_struct_example.cpp.
| double MyData::value |
Definition at line 13 of file custom_struct_example.cpp.