Encoding Utilities
The Encoding Utilities - base58 and base64 are directly imported from The Ethers Project. The complete documentation can be found in the official ethers docs.
Base58
hethers.utils.base58.decode( textData ) ⇒ Uint8Array
hethers.utils.base58.decode( textData ) ⇒ Uint8Array
Return a typed Uint8Array representation of textData decoded using base-58 encoding.
hethers.utils.base58.encode( aBytesLike ) ⇒ string
hethers.utils.base58.encode( aBytesLike ) ⇒ string
Return aBytesLike encoded as a string using the base-58 encoding.
Base64
hethers.utils.base64.decode( textData ) ⇒ Uint8Array
hethers.utils.base64.decode( textData ) ⇒ Uint8Array
Return a typed Uint8Array representation of textData decoded using base-64 encoding.
hethers.utils.base64.encode( aBytesLike ) ⇒ string
hethers.utils.base64.encode( aBytesLike ) ⇒ string
Return aBytesLike encoded as a string using the base-64 encoding.
Last updated