[][src]Module tari_utilities::bit

Functions

bits_to_byte

Converts a array of input bits (little-endian) to a single byte

bits_to_bytes

Converts a vector of bits to a vector of bytes

bits_to_uint

Converts a vector of input bits (little-endian) to its integer representation

byte_to_bits

Converts a single input byte to 8 bits (little-endian)

bytes_to_bits

Converts a vector of input bytes to a vector of bits

uint_to_bits

Converts a single input integer to a vector of bits (little-endian)