A class used to store information to the session or to local storage in the browser.
handler this.getLength(): Int;
Used to retrieve the number of items currently stored.
handler this.getKey(index: Int): String;
Gets the key of the item with the given index.
handler this.getItem(key: CharsPtr): String;
Gets the item with the given key.
handler this.setItem(key: CharsPtr, value: CharsPtr);
Sets an item to be stored under the given key.
handler this.removeItem(key: CharsPtr);
Removes the item stored under the given key. ل.
handler this.clear();
Removes all items from the storage.