Skip to main content

DEFAULT_MAX_INPUT_BYTES

Constant DEFAULT_MAX_INPUT_BYTES 

Source
pub const DEFAULT_MAX_INPUT_BYTES: u64 = _; // 524_288_000u64
Expand description

Default bound on input size, checked before any read begins (RFC-035 §5.4): 500 MiB. Chosen to be generous enough that no ordinary .xlsx workbook — this crate does not compare macros, embedded media, or other content that would make a legitimate file huge — should ever reach it, while still being finite.