Name Description Size Coverage
basic.rs 2530 -
handler.rs UTF-16 decoding with pluggable handler for the two code unit sequence lengths and error. The handler implementation is expected not to mutate any state. Its primary purpose is to allow read-only data structure lookups to be fused into the decoder when the data structure layout benefits from knowing BMP vs. non-BMP detail without having to re-discover it from `char`. 6284 -
indices.rs 4240 -
lib.rs Provides iteration by `char` over `&[u16]` containing potentially-invalid UTF-16 such that errors are replaced with the REPLACEMENT CHARACTER. The trait `Utf16CharsEx` provides the convenience method `chars()` on `u16` slices themselves instead of having to use the more verbose `Utf16Chars::new(slice)`. 3768 -
macros.rs 4737 -
report.rs 5951 -