Module std::storage::storable_slice
Expand description
Contract storage utilities.
Traits
A trait for storing types in storage, whose content can be represented as a slice of bytes.
Functions
Clears a slice, stored in slots of 32 bytes, from storage, starting at the slot.
Clears a slice, stored in slots of 32 bytes, from storage, starting at the slot.
Clears a slice from storage, stored in a single dynamic slot.
Clears a slice from storage, stored in a single dynamic slot, and returns whether the cleared slot was previously set.
Loads a raw_slice from storage, stored in slots of 32 bytes, starting at the slot.
Loads a raw_slice from storage, stored in slots of 32 bytes, starting at the slot.
Loads a raw_slice from storage, stored in a single dynamic slot.
Stores slice into storage, in slots of 32 bytes, starting at the slot.
Stores slice into storage, in slots of 32 bytes, starting at the slot.
Stores slice into storage, in a single dynamic storage slot.