Module ark_r1cs_std::bits

source ·
Expand description

This module implements gadgets related to bit manipulation, such as Boolean and UInts.

Modules

This module contains Boolean, a R1CS equivalent of the bool type.
This module contains a macro for generating UIntN types, which are R1CS equivalents of N-bit unsigned integers.
This module contains UInt8, a R1CS equivalent of the u8 type.
This module contains the U16 type, which is the R1CS equivalent of the u16 type.
This module contains the U32 type, which is the R1CS equivalent of the u32 type.
This module contains the U64 type, which is the R1CS equivalent of the u64 type.
This module contains the U128 type, which is the R1CS equivalent of the u128 type.

Traits

Specifies constraints for conversion to a little-endian bit representation of self.
Specifies constraints for conversion to a little-endian byte representation of self.