Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

@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

ParameterTypeDescription
keyPublicThe public key from which to extract raw bytes.

Returns:

Uint8Array

  • extractPublicKeyBytes() function
  • Parameters
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio