Skip to main content

read_message

Function read_message 

Source
fn read_message(
    input: &mut impl BufRead,
    longest: usize,
) -> Result<Option<Incoming>, String>
Expand description

One line of input, at most longest bytes; the rest of a longer one skipped.