utf8reader 0.1.0

Provides a wrapper around Reader that returns a stream of UTF-8 characters
Documentation
  • Coverage
  • 50%
    2 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 5.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.05 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • thepowersgang

UTF8Reader - Provides a wrapper around an implementation of std::io::Reader that parses the stream as a sequence of UTF-8 encoded codepoints.

It provides an implementation of Iterator<IoError<char>> for ease of access

Using

let mut reader = utf8reader::UTF8Reader::new( file_handle );
for codepoint in reader.map(|cp| cp.unwrap())
{
	print!("{}", codepoint);
}

=== Licencing === This code is distributed under the terms of the zlib licence (see COPYING).