hyper::proto::h1::role

Function is_complete_fast

Source
fn is_complete_fast(bytes: &[u8], prev_len: usize) -> bool
Expand description

A fast scan for the end of a message. Used when there was a partial read, to skip full parsing on a a slow connection.