// ApproximateSize returns the approximate number of bytes on disk that RocksDB // is using to store data for the given range of keys. func (r *RocksDB) ApproximateSize(start, end MVCCKey) (uint64, error) { return uint64(C.DBApproximateSize(r.rdb, goToCKey(start), goToCKey(end))), nil }
// ApproximateSize returns the approximate number of bytes on disk that RocksDB // is using to store data for the given range of keys. func (r *RocksDB) ApproximateSize(start, end proto.EncodedKey) (uint64, error) { return uint64(C.DBApproximateSize(r.rdb, goToCSlice(start), goToCSlice(end))), nil }