Skip to main content

read_stdin_limited

Function read_stdin_limited 

Source
pub fn read_stdin_limited() -> Result<String>
Expand description

Read stdin with a byte cap so a huge pipe cannot OOM before JSON parsing.