The `io::Error` is troublesome because it contains a bunch of stuff that never happens when reading from a buffer. However the EOF variant can occur if the buffer is too short. As an initial step towards reducing usage of the `io::Error` add a `MissingData` variant to the `encode::Error` and when converting from an IO error map to `MissingData` if EOF is encountered. |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml |