@textile/hub > publicKeyBytesFromString
publicKeyBytesFromString() function
Decode the given base-32 encoded multibase string into a Public key.
Signature:
export declare function publicKeyBytesFromString(str: string): Uint8Array;
Parameters
Parameter | Type | Description |
---|---|---|
str | string | The base-32 encoded multibase string. |
Returns:
Uint8Array