LogoRobo.js
Framework

decodeKey()

Function: decodeKey()

function decodeKey(storageKey): EncodedKeyData

Decode a storage key back to (namespace, key) pair.

Handles both plain keys and encoded _e:{base64url} keys.

Parameters

ParameterTypeDescription
storageKeystringThe key from storage

Returns

EncodedKeyData

Decoded namespace and key

On this page