@textile/hub > publicKeyBytesToString
publicKeyBytesToString() function
Encode the given PublicKey's protobuf-encoded bytes to its base-32 encoded multibase representation.
Signature:
export declare function publicKeyBytesToString(bytes: Uint8Array): string;
Parameters
Parameter | Type | Description |
---|---|---|
bytes | Uint8Array | The protobuf-encoded bytes of a Public key. |
Returns:
string