Blyx Nest Blyx language
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.

Source repository · Package JSON

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

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse filese8f44052220f7d74d736247bdf68d8bc8079c011d4ac7a3874e4955ea6c3a184a7701cc7e7
0.1.0Download ZIP · Browse files6349f23784cc393f8f6eaf1e36f20adb381cbd7f7491bab81ff6ce3240306c5c3123d581b1