Skip to content

antifuchs/fibonacci_codec

Repository files navigation

Fibonacci coding for primitive integers in Rust

This crate implements the Fibonacci coding technique for storing integers as variable bit length code words. It implements an encoder consuming an interator over various primitive unsigned integer types (u8 through u64), and a decoder to reverse the process.

Restrictions

Due to the way the coding scheme works, the number 0 can't be encoded.

About

An implementation of Fibonacci coding in Rust

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages