Skip to main content

shift

Function shift 

Source
fn shift(
    value: &str,
    bits: &str,
    base_in: Option<&str>,
    base_out: &str,
    shift: impl FnOnce(U256, U256) -> U256,
) -> Result<String>
Expand description

Parses value and bits, applies shift and formats the result with the base_out prefix.