pub fn pack_bits_le<R, Var, I>(iter: I) -> RExpand description
Pack a collection of bits into a number.
Given vec = [v_0, v_1, ..., v_n] returns v_0 + 2v_1 + ... + 2^n v_n
pub fn pack_bits_le<R, Var, I>(iter: I) -> RPack a collection of bits into a number.
Given vec = [v_0, v_1, ..., v_n] returns v_0 + 2v_1 + ... + 2^n v_n