Skip to main content

MAX_FILE_BYTES

Constant MAX_FILE_BYTES 

Source
pub const MAX_FILE_BYTES: u64 = _ /* 16_777_216u64 */;
Expand description

16 MiB read limit for file-backed value sources, and the CLI’s default document budget (--max-file-bytes).

Library callers of DocumentFile::open_capped choose their own budget.