#include <databases.hpp>
Public Member Functions | |
| MultiDatabase (const unsigned char *buffer) | |
| Create a multidatabase from a serialized multidatabase. | |
| const unsigned char * | SubDatabasePointer (int32_t magicValue) const |
| MultiDatabase memory layout: | |
Definition at line 168 of file databases.hpp.
|
inlineexplicit |
Create a multidatabase from a serialized multidatabase.
Definition at line 171 of file databases.hpp.
| const unsigned char * lost::MultiDatabase::SubDatabasePointer | ( | int32_t | magicValue | ) | const |
MultiDatabase memory layout:
| size | name | description | |---—+-------------—+------------------------------------------—| | 4 | magicValue | unique database identifier | | 4 | flags | [X, X, X, isDouble?] | | 4 | databaseLength | length in bytes (32-bit unsigned) | | n | database | the entire database. 8-byte aligned | | ... | ... | More databases (each has value, length, db) | | 4 | caboose | 4 null bytes indicate the end |
return a pointer to the start of the database type indicated by the magic value, if such a sub-database is present in the database
| magicValue |
Definition at line 484 of file databases.cpp.

