Function inspect_format::utils::block_size_for_payload
source · pub fn block_size_for_payload(payload_size: usize) -> usize
Expand description
Get the necessary |block size| to fit the given |payload_size| in range MIN_ORDER_SIZE <= block size <= MAX_ORDER_SIZE