Return the key size associated with the database.
std::size_t key_size() const;
The key size is defined by the application when the database is created
in a call to create
.
The key size cannot be changed on an existing database.
The database must be open.
Safe to call concurrently with any function except open
or close
.
The size of keys in the database.