Skip to main content

insert_into_word

Function insert_into_word 

Source
pub fn insert_into_word<T: FromWord + StorableType>(
    current: U256,
    value: &T,
    offset: usize,
    bytes: usize,
) -> Result<U256>
Expand description

Insert a packed value into a storage slot at a given byte offset.