to_big_from_digits

Function to_big_from_digits 

Source
pub open spec fn to_big_from_digits<BIG, B>(n: Seq<B>) -> EndianNat<BIG>
Expand description
{
    EndianNat::<
        B,
    >::to_big::<BIG>(EndianNat::<B>::new(endianness(), n.map(|i, d| d as int)))
}

Converts a sequence of digits in base B in default endianness (endianness()) to an EndianNat in the larger base BIG.