Registry / Library

library · v0.1.1
Utf16 Units
Count UTF-16 code units for an array of Unicode scalar values and reject malformed scalar values.
Use Utf16 Units
use vendor::utf16_units::utf16_units;
Run the example
nest demo utf16_units@0.1.1
blyxc native-run utf16_units-demo/main.blyx
Example source and expected output
use vendor::utf16_units::utf16_units;
fn main() {
println!(utf16_units([65,128512]));
}
Expected output
3
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | e8f4405222 | 0f7d74d736247bdf68d8bc8079c011d4ac7a3874e4955ea6c3a184a7701cc7e7 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | cc393f8f6eaf1e36f20adb381cbd7f7491bab81ff6ce3240306c5c3123d581b1 |