pmem / pmemstream

Other
9 stars 13 forks source link

Add get_usable_size() funciton #97

Open karczex opened 2 years ago

karczex commented 2 years ago

FEAT: Add get_usable_size() funciton

Rationale

Currently it's hard to guess size of region, which fits into the stream.

Description

Expose usable_size variable aligned to block size in API

API Changes

add get_max_region_size()