Gedichte
Musik
Bilder
Quellcodebibliothek
Diashow
Normaldarstellung
Quellcodebibliothek
Statistik
Leitseite
products
/
Sources
/
formale Sprachen
/
C
/
Firefox
/
third_party
/
rust
/
utf16_iter
/ (
Browser von der Mozilla Stiftung
Version 136.0.1
©
) Datei vom 10.2.2025 mit Größe 1 kB
Quelle README.md Sprache: unbekannt
Spracherkennung für: .md vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
# utf16_iter
[](https://crates.io
/crates/utf16_iter)
[](https://docs.rs/utf16_iter/)
utf16_iter provides iteration by `char` over potentially-invalid UTF-
16
`&[u16]`
such that UTF-
16
errors are replaced with the REPLACEMENT CHARACTER.
Iteration by `Result<char,Utf16CharsError>` is provided as an alternative that
distinguishes unpaired surrogates from U+FFFD appearing in the input.
This is a `no_std` crate.
## Licensing
TL;DR: `Apache-
2
.
0
OR MIT`
Please see the file named
[COPYRIGHT](
https://github.com/hsivonen/utf16_iter/blob/master/COPYRIGHT).
## Documentation
Generated [API documentation](
https://docs.rs/utf16_iter/)
is available
online.
## Release Notes
###
1
.
0
.
5
* Add iteration by `Result<char,Utf16CharsError>`.
###
1
.
0
.
4
* `char_indices()` implementation.
###
1
.
0
.
3
* Tweak inlining.
###
1
.
0
.
2
* Implemented `DoubleEndedIterator`.
###
1
.
0
.
1
* Added `as_slice()` method.
###
1
.
0
.
0
The initial release.
[Dauer der Verarbeitung: 0.20 Sekunden, vorverarbeitet 2026-06-05]
2026-06-09