Function consume

Source
fn consume(buf: &mut Cursor<&mut BytesMut>)