#[deprecated(note="XXX: TODO: Only use this if the read_until() into vec does not add the '\n' into the vec as well. Otherwise, *always* use this.")]
//#[deprecated(note="XXX: TODO: Only use this if the read_until() into vec does not add the '\n' into the vec as well. Otherwise, *always* use this.")]
letline=MaybeUTF8::from_raw_bytes(&self.1[..]);//TODO: XXX: If self.1 here does not have the '\n' added into it by read_until(); use from_raw_vec(self.1.clone()) instead; it'll be more efficient.
letline=ifself.1[read_sz-1]==b'\n'{
MaybeUTF8::from_raw_bytes(&self.1[..(read_sz-1)])
}else{
MaybeUTF8::from_raw_vec(self.1.clone())
};
debug_assert_ne!(line.as_ref().iter().last().copied(),Some(b'\n'),"Deliminator still in output");
self.1.clear();
//TODO: todo!("Do we need read_sz ({read_sz}) at all here? Will the `\n` be inside the read string?");