Noun.Bits (Anoma v0.34.0)
Summary
Functions
I take in big endian encoded bytes and switch the encoding to little endian.
I take in little endian encoded bytes and switch the encoding to big endian.
Functions
@spec bit_list_to_integer([0 | 1]) :: non_neg_integer()
I take in big endian encoded bytes and switch the encoding to little endian.
I take in little endian encoded bytes and switch the encoding to big endian.
@spec integer_to_bits(Noun.noun_atom()) :: [0 | 1]
@spec num_bits(Noun.noun_atom(), Noun.noun_atom()) :: non_neg_integer()