* Get the number of blocks that are fully or partially occupied */
| 94 | * Get the number of blocks that are fully or partially occupied |
| 95 | */ |
| 96 | uint64_t getBlockNumber() const { |
| 97 | return (currentSize_ + blockSize_ - 1) / blockSize_; |
| 98 | } |
| 99 | |
| 100 | uint64_t size() const { |
| 101 | return currentSize_; |
no outgoing calls