45 lines
806 B
Markdown
45 lines
806 B
Markdown
|
-----
|
||
|
|
||
|
Documentation: [html](https://docs-beta.ethers.io/)
|
||
|
|
||
|
-----
|
||
|
|
||
|
|
||
|
Encoding Utilities
|
||
|
==================
|
||
|
|
||
|
|
||
|
|
||
|
#### *utils* . *base58* . **decode** ( textData ) **=>** *Uin8Array*
|
||
|
|
||
|
Return a typed Uint8Array representation of *textData* decoded using
|
||
|
base-58 encoding.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#### *utils* . *base58* . **encode** ( aBytesLike ) **=>** *string*
|
||
|
|
||
|
Return *aBytesLike* encoded as a string using the base-58 encoding.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#### *utils* . *base64* . **decode** ( textData ) **=>** *Uin8Array*
|
||
|
|
||
|
Return a typed Uint8Array representation of *textData* decoded using
|
||
|
base-64 encoding.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#### *utils* . *base64* . **encode** ( aBytesLike ) **=>** *string*
|
||
|
|
||
|
Return *aBytesLike* encoded as a string using the base-64 encoding.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
-----
|
||
|
**Content Hash:** a4f4ef6d28d4fde749cce30bb537f6ad3d6d0ae6070623757c75091441523f4e
|