Trait kimchi_msm::serialization::interpreter::HybridSerHelpers
source · pub trait HybridSerHelpers<F: PrimeField, CIx: ColumnIndexer, LT: LookupTableID> {
// Required method
fn bitmask_be(
&mut self,
x: &<Self as ColAccessCap<F, CIx>>::Variable,
highest_bit: u32,
lowest_bit: u32,
position: CIx
) -> Self::Variable
where Self: ColAccessCap<F, CIx>;
}
Required Methods§
sourcefn bitmask_be(
&mut self,
x: &<Self as ColAccessCap<F, CIx>>::Variable,
highest_bit: u32,
lowest_bit: u32,
position: CIx
) -> Self::Variablewhere
Self: ColAccessCap<F, CIx>,
fn bitmask_be( &mut self, x: &<Self as ColAccessCap<F, CIx>>::Variable, highest_bit: u32, lowest_bit: u32, position: CIx ) -> Self::Variablewhere Self: ColAccessCap<F, CIx>,
Returns the bits between [highest_bit, lowest_bit] of the variable x
,
and copy the result in the column position
.
The value x
is expected to be encoded in big-endian