A type-hinted storage interface with items that can expire.
The number of items in storage.
The total possible size of storage in bytes.
Clear all items from storage.
Calculate how much space an item would take up in storage.
Get an item from storage.
Get the key at the given index.
Remove an item from storage.
Set an item in storage.
Calculate how many bytes of storage are in use. If no key is given, calculate for all keys.
Optional
Generated using TypeDoc
A type-hinted storage interface with items that can expire.