utf8streamreader 0.1.0

Provides a lookahead iterator on an utf8 byte stream
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug)]
pub enum Error {
    IoError(std::io::Error),
    EofError,
    Other(String),
    Utf8Error(String),
}

impl From<std::io::Error> for Error {
    fn from(value: std::io::Error) -> Self {
        Error::IoError(value)
    }
}