Skip to main content

MAX_PROCESS_LINE_BYTES

Constant MAX_PROCESS_LINE_BYTES 

Source
pub const MAX_PROCESS_LINE_BYTES: usize = _ /* 65_536usize */;
Expand description

Maximum UTF-8 payload bytes in a process stdout/stderr line (64 KiB).

The LF or CRLF delimiter is excluded. Each reader’s assembly buffer holds at most this many bytes plus one possible CR delimiter, alongside an 8 KiB input buffer and one in-flight line or preview of at most this many bytes. This does not bound allocations in the message conversion callback or model.