Skip to main content

DEFAULT_BUFFER_SIZE

Constant DEFAULT_BUFFER_SIZE 

Source
pub const DEFAULT_BUFFER_SIZE: usize = _; // 10_485_760usize
Expand description

Default working-buffer size when none is provided. Matches libxml2’s XML_MAX_TEXT_LENGTH (10 MB) — bigger than any single text node in the vast majority of real-world XML, small enough that streaming meaningfully saves memory vs slurping.