Methods
encode(str) → {Uint8Array}
Encode an input string.
Parameters:
| Name | Type | Description |
|---|---|---|
str | string | The string to encode. |
- Source
Returns:
The encoded string.
- Type:
- Uint8Array