pub(crate) fn read<'a, R: BufRead + ?Sized>( inp: &mut R, buf: &'a mut Vec<u8>, ) -> Result<Option<&'a mut Vec<u8>>>