#utf-8 #byte-stream #iterator #lookahead #utf8-reader

utf8streamreader

Provides a lookahead iterator on an utf8 byte stream

1 unstable release

Uses new Rust 2024

new 0.1.0 Mar 6, 2025

#983 in Text processing

Download history 113/week @ 2025-03-03

113 downloads per month
Used in rutex

Custom license

5KB
123 lines

UTF8Reader

This is a simple library which aids in reading UTF-8 encoded byte streams. It takes in any implementer of the Read trait and returns an iterator of chars.

It also incorparates a lookahead struct which allows look ahead of many characters.

Suggestions and PRs are welcome.

No runtime deps