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