![]() |
Return the block size associated with the database.
std::size_t block_size() const;
The block size is defined by the application when the database is created
in a call to create
or when a key file is regenerated in a call to rekey. The block size cannot be
changed on an existing key file. Instead, a new key file may be created
with a different block size.
The database must be open.
Safe to call concurrently with any function except basic_store::open or basic_store::close.
The size of blocks in the key file.