# Function: encode ▸ `Const` **encode**(`input`): `string` #### Parameters | Name | Type | | :------ | :------ | | `input` | `string` \| `Uint8Array` | #### Returns `string`