@textile/hub > ThreadKey > fromBytes
ThreadKey.fromBytes() method
Create Key from bytes.
Signature:
static fromBytes(bytes: Uint8Array): ThreadKey;
Parameters
| Parameter | Type | Description |
|---|---|---|
| bytes | Uint8Array | Input bytes of (possibly both) key(s). |
Returns: