Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

one_shift_left_bytes_u128

Shifts 1 left by the specified number of bytes for u128 values

Arguments

  • n_bytes - The number of bytes to shift left

Returns

  • u128 - The result of 1 shifted left by n_bytes * 8 bits

Fully qualified path: alexandria_data_structures::bit_array::one_shift_left_bytes_u128

pub fn one_shift_left_bytes_u128(n_bytes: u32) -> u128