@textile/hub > extractPublicKeyBytes
extractPublicKeyBytes() function
Utility function to extract the raw bytes from a Public key.
Signature:
export declare function extractPublicKeyBytes(key: Public): Uint8Array;
Parameters
| Parameter | Type | Description |
|---|---|---|
| key | Public | The public key from which to extract raw bytes. |
Returns:
Uint8Array