Skip to main content

var_sll_bytes

Function var_sll_bytes 

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

Variable-amount logical left shift by whole bytes.

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