pub fn chunk_length(length: u64, index: u64) -> usize
The plaintext length of chunk index of length bytes: full, except a shorter last chunk. The caller keeps index below the chunk count.
index
length