ethers.js/docs/api/utils/encoding/README.md
2020-02-02 00:53:22 -05:00

806 B

Documentation: html

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