Structs§
Enums§
Constants§
- DEFAULT_
RANGE_ GAP_ THRESHOLD - Default gap threshold for range merging (256 KiB, same as zsync2).
Functions§
- byte_
ranges_ from_ block_ ranges - merge_
byte_ ranges - Merge byte ranges to minimize HTTP requests. Gaps smaller than the threshold are merged to save HTTP round-trips.