[][src]Module treeid::bitter

Structs

BitWriter

Functions

kth_bit

Returns the k'th bit of x as a bool.

kth_bit_iter

Returns the k'th bit of the next element in it as a bool, without consuming the element.

pack_mlcf

Pack an mLCF encoded slice of u8 into chunks of u64.

rotate_add

Adds y to x, rotating back to 0 if the result exceeds 64.

rotate_consume

Advances cursor by bits, consuming an element of it if a rotation is made.

rotate_incr

Advances cursor by 1, consuming an element of it if a rotation is made.