Skip to main content

var_srl_bytes

Function var_srl_bytes 

Source
pub fn var_srl_bytes(b: &CircuitBuilder, x: Wire, shift: Wire) -> Wire
Expand description

Variable-amount logical right shift by whole bytes.

Returns x >> (shift * 8). The low 3 bits of shift are the byte count (range 0..8).