download library

Download pipeline: single file, range, and batch downloads with conflict handling and resume support.

Classes

FilenDownload

Constants

kDefaultDownloadConcurrency → const int
Chunk download concurrency (Step 1). N chunks fetched + decrypted at once, bounded by a ChunkSemaphore; out-of-order completion is reassembled by writing each chunk at its fixed file offset.
kSequentialDownloadChunkThreshold → const int
Files with this many chunks or fewer keep the simple sequential path.