Blyx Nest Blyx language
Registry / Library
library · v0.1.1

Uleb Width

Determine the encoded byte length of a nonnegative integer in unsigned LEB128.

Source repository · Package JSON

Use Uleb Width

use vendor::uleb_width::uleb_width;

Run the example

nest demo uleb_width@0.1.1
blyxc native-run uleb_width-demo/main.blyx
Example source and expected output
use vendor::uleb_width::uleb_width;

fn main() {
    println!(uleb_width(127));
}

Expected output

1

Published versions

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse files3971fbdcd26182a0e1001a0e2b24adc0699b450bbf75f1a5e64b78624c9ac92a6151aad7f7
0.1.0Download ZIP · Browse files6349f23784bffb14e59d1766606db573c2ef09856a882a39e3749af30bb546744731cc961f