Skip to main content

MAX_FILE_BYTES

Constant MAX_FILE_BYTES 

Source
const MAX_FILE_BYTES: u64 = _; // 16_384u64
Expand description

Maximum on-disk size for supporter.json. The legitimate record is well under 1 KiB; capping the read at 16 KiB defends against pathological inputs (10 GiB JSON file with one nested object) without constraining future record growth.