Abit

Use :atomics as a bit array or as an array of counters with N bits per counter in Elixir.

Documentation can be found at https://hexdocs.pm/abit.

Installation

Add abit to your list of dependencies in mix.exs:

def deps do
  [
    {:abit, "~> 0.2"}
  ]
end

API

See https://hexdocs.pm/abit for full documentation.

Abit

Abit.Counter

Abit.Bitmask (useful helper functions for bitmasks)