Nock.Bits (Anoma v0.25.0)

Summary

Functions

Link to this function

bit_list_to_integer(bits)

@spec bit_list_to_integer([0 | 1]) :: non_neg_integer()
Link to this function

integer_to_bits(number)

@spec integer_to_bits(Noun.noun_atom()) :: [0 | 1]
Link to this function

num_bits(n, block_size)

@spec num_bits(non_neg_integer(), non_neg_integer()) :: non_neg_integer()