[][src]Function exr::meta::calculate_block_size

pub fn calculate_block_size(
    total_size: usize,
    block_size: usize,
    block_position: usize
) -> Result<usize>

Calculate the size of a single block. If this is the last block, this only returns the required size, which is always smaller than the default block size.