Files
common/docs/trie-codec/modules/_encode_.md
T
2018-11-29 10:59:43 +00:00

23 lines
460 B
Markdown

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