Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

fill_with_zeroes

Fill the provided array with zeroes.

Arguments

  • values - the array to fill
  • size - the number of zero to append in the array

Fully qualified path: dojo::storage::database::fill_with_zeroes

pub fn fill_with_zeroes(ref values: Array<felt252>, size: u32)