Bloomex.BitArray
This module implements a bit array using Erlang’s :array
module.
Summary
Returns true
if the bitarray has the i
th bit set,
otherwise returns false
Returns a new bitarray of size n
Returns an updated bitarray where the i
th bit is set
Functions
Specs
get(t, non_neg_integer) :: boolean
Returns true
if the bitarray has the i
th bit set,
otherwise returns false
.
Returns a new bitarray of size n
.
Specs
set(t, non_neg_integer) :: t
Returns an updated bitarray where the i
th bit is set.