Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

set_packed_array

Write a raw array value identified by its keys.

Arguments

  • address_domain - the address domain to use
  • keys - the keys of the value to write
  • data - the raw value to write
  • offset - the starting point from where to extract raw value from the data array.
  • array_size - the size of the array to write.

Fully qualified path: dojo::storage::storage::set_packed_array

pub fn set_packed_array(
    address_domain: u32, keys: Span<felt252>, mut data: Span<felt252>, offset: u32, array_size: u32,
)