CDBWrapper::EstimateSize

Estimates the on-disk size of the entries in the given key range.

Synopsis

Declared in <dbwrapper.h>

template<typename K>
size_t
EstimateSize(
    K const& key_begin,
    K const& key_end) const;

Return Value

The estimated size in bytes of the key range.

Parameters

NameDescription
key_beginThe inclusive start of the key range.
key_endThe exclusive end of the key range.