pub fn download_cap( content_length: Option<u64>, snapshot_max_upload_bytes: u64, options: &AttachmentOptions, ) -> u64
Compute the bound before a download starts.