decodePin

Fetches the namespace and object id from a pin.

Author

Arnau Mora

Since

20220304

Return

A pair of Strings, the first is the decoded namespace, and the second the id.

Parameters

pin

The pin to decode, has de format /

Throws

When the namespace could not be decoded from pin.