View Source Gpp.FibonacciDecoder (Gpp v0.2.1)

Decode Fibonacci encoded lists of bits in to decimal integers.

See: https://en.wikipedia.org/wiki/Fibonacci_coding

Link to this section Summary

Functions

iex> Gpp.FibonacciDecoder.decode([1, 0, 0, 0, 0, 1, 1])
{:ok, 14}

Link to this section Functions

iex> Gpp.FibonacciDecoder.decode([1, 0, 0, 0, 0, 1, 1])
{:ok, 14}