pub fn decode_stream(
reader: &mut impl Read,
ignore_garbage: bool,
writer: &mut impl Write,
) -> Result<()>Expand description
Stream-decode from a reader to a writer. Used for stdin processing. Reads all input, strips whitespace, decodes in one SIMD pass, writes once. The caller is expected to provide a suitably buffered or raw fd writer.