Registry / Library

library · v0.1.1
Uleb Width
Determine the encoded byte length of a nonnegative integer in unsigned LEB128.
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
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | 3971fbdcd2 | 6182a0e1001a0e2b24adc0699b450bbf75f1a5e64b78624c9ac92a6151aad7f7 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | bffb14e59d1766606db573c2ef09856a882a39e3749af30bb546744731cc961f |