Skip to main content

chunk_count

Function chunk_count 

Source
pub fn chunk_count(byte_size: u64) -> u64
Expand description

How many chunks a blob of byte_size plaintext bytes was sealed into.

Never zero: an empty blob still gets one sealed chunk, or an empty container and a truncated one would be the same bytes on disk.