Registry / Library

library · v0.1.1
Fletcher16 Bytes
Compute Fletcher-16 on byte values modulo 255. Invalid byte input returns minus one.
Use Fletcher16 Bytes
use vendor::fletcher16_bytes::fletcher16_bytes;
Run the example
nest demo fletcher16_bytes@0.1.1
blyxc native-run fletcher16_bytes-demo/main.blyx
Example source and expected output
use vendor::fletcher16_bytes::fletcher16_bytes;
fn main() {
println!(fletcher16_bytes([1,2,3]));
}
Expected output
2566
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | a6ecac47a9 | f6134b3ea8b0780a50a3a89224ba55864bb9c09d1865aa88a8221f3494612588 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | 314582235e11c07cf3fe9bb95b46a2dae23be1b90d93c3eb32347a7eb817f5dc |