Vincen

Results 2 comments of Vincen

**panic at line drain, when character is not a single byte char** ``` pub fn try_read(&mut self) -> Option { // discard eventual errors, EOF will be handled in read_until...

I add this fn to read all bytes in buffer. ``` pub fn try_read_all(&mut self) -> Option { ... return Some(self.buffer.drain(..).collect()); ... } ```