chunk_byte_range

Function chunk_byte_range 

Source
pub const fn chunk_byte_range(
    chunk_index: u64,
    chunk_size: u64,
    total_size: u64,
) -> (u64, u64)
Expand description

Get the byte range (start, end) for a specific chunk. Returns (start_byte, end_byte_exclusive) for the chunk.