Skip to main content

extract_from_word

Function extract_from_word 

Source
pub fn extract_from_word<T: FromWord + StorableType>(
    slot_value: U256,
    offset: usize,
    bytes: usize,
) -> Result<T>
Expand description

Extract a packed value from a storage slot at a given byte offset.