[][src]Function bellperson::gadgets::multipack::pack_bits

pub fn pack_bits<E, CS>(
    cs: CS,
    bits: &[Boolean]
) -> Result<AllocatedNum<E>, SynthesisError> where
    E: ScalarEngine,
    CS: ConstraintSystem<E>, 

Takes a sequence of booleans and exposes them as a single compact Num.