Project/base32768
Compare changes
- Jonah Husson authored
+ 31
− 17
@@ -21,7 +21,7 @@ import (
@@ -31,8 +31,22 @@ const localStorageWasmPrefix = "xxdkWasmStorage/"
@@ -45,24 +59,24 @@ type LocalStorage struct {
@@ -73,19 +87,19 @@ func (ls *LocalStorage) Get(keyName string) ([]byte, error) {
@@ -99,7 +113,7 @@ func (ls *LocalStorage) Clear() int {
@@ -113,7 +127,7 @@ func (ls *LocalStorage) ClearPrefix(prefix string) int {
@@ -122,12 +136,12 @@ func (ls *LocalStorage) Key(n int) (string, error) {
@@ -139,7 +153,7 @@ func (ls *LocalStorage) Length() int {