Function io_interner::io_unary_op

source ·
pub fn io_unary_op<R1: Read>(
    x: R1,
    callback: impl FnMut(&[u8]) -> bool
) -> Result<()>
Expand description

Like io_op,but with only one reader and slice passed down to callback.

Errors

See io::copy.