(&self)
| 181 | if let ErrorKind::UnexpectedEof = io_err.kind() { |
| 182 | // to not return any error in case we only finished to read cleanly from the stream |
| 183 | Ok(()) |
| 184 | } else { |
| 185 | Err(Details::ReadVariableIntegerBytes(io_err).into()) |
| 186 | } |
| 187 | } |
| 188 | Err(e) => Err(Error::new(e)), |