zero_packed_value

Function zero_packed_value 

Source
pub fn zero_packed_value(
    current: U256,
    offset: usize,
    bytes: usize,
) -> Result<U256>
Expand description

Zero out a packed value in a storage slot at a given byte offset.

This is the inverse operation to insert_packed_value, clearing the bits for a specific field while preserving other packed values in the slot.