We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
BufRead::read_until
read_line
1 parent dc62774 commit b086bedCopy full SHA for b086bed
src/lib.rs
@@ -1092,6 +1092,14 @@ where
1092
fn consume(&mut self, amt: usize) {
1093
for_both!(*self, ref mut inner => inner.consume(amt))
1094
}
1095
+
1096
+ fn read_until(&mut self, byte: u8, buf: &mut std::vec::Vec<u8>) -> io::Result<usize> {
1097
+ for_both!(*self, ref mut inner => inner.read_until(byte, buf))
1098
+ }
1099
1100
+ fn read_line(&mut self, buf: &mut std::string::String) -> io::Result<usize> {
1101
+ for_both!(*self, ref mut inner => inner.read_line(buf))
1102
1103
1104
1105
#[cfg(any(test, feature = "use_std"))]
0 commit comments