23 lines
460 B
Markdown
23 lines
460 B
Markdown
|
|
|
|
# Functions
|
|
|
|
<a id="encode"></a>
|
|
|
|
## encode
|
|
|
|
▸ **encode**(input?: * `null` | `Uint8Array` | `Array`< `null` | `Uint8Array`>*): `Uint8Array`
|
|
|
|
*Defined in [encode.ts:94](https://github.com/polkadot-js/common/blob/ccfed2a/packages/trie-codec/src/encode.ts#L94)*
|
|
|
|
**Parameters:**
|
|
|
|
| Name | Type |
|
|
| ------ | ------ |
|
|
| `Optional` input | `null` | `Uint8Array` | `Array`< `null` | `Uint8Array`>|
|
|
|
|
**Returns:** `Uint8Array`
|
|
|
|
___
|
|
|