5.7.0 • Published 3 years ago

@ethersproject/base64 v5.7.0

Weekly downloads
123,776
License
MIT
Repository
github
Last release
3 years ago

Base64 Coder

function decode(textData: string): Uint8Array

Decodes a base64 encoded string into the binary data.

import * as base64 from "@ethersproject/base64";

let encodedData = "...";
let data = base64.decode(encodedData);
console.log(data);
// { Uint8Array: [] }

function encode(data: Arrayish): string

Decodes a base64 encoded string into the binary data.

import * as base64 from "@ethersproject/base64";

let data = [ ];
let encodedData = base64.encode(data);
console.log(encodedData);
// "..."

License

MIT License

boa-ethersethers-hostethers-eva@ayanamitech/web@vmware-blockchain/ethers@vmware-blockchain/providers@vmbc/ethers@vmbc/providers@infinitebrahmanuniverse/nolb-_et@everything-registry/sub-chunk-299ethers-lib-op-goerli-supportethers-lib-op-goerli-support-providerstaalswap-ethersx-ethersswisstronik-ethers@iguana-dex/sdk@swisstronik/ethersintersitx-didproviders-vjsns-ethers@auroblocks/chimp-sdk@authereum/ethers5@balancer-labs/sdk@bnb-chain/greenfield-js-sdk@bnb-chain/reed-solomon@ceramicnetwork/ceramic-core@ceramicnetwork/ceramic-doctype-tile@0xayanami/ethers-web@0xcryptodev/sdk@0xcryptodev/sdk-tenet0xlib@dh-test/common-utils@dh-test/dao-datazxc-did@feeless/sdk@halodao/balancer-sdk@hethers/providers@hethers/transactions@ethersproject/web@ethersproject/providers@ethersproject/hash@ethersproject-aion/ethers@lit-protocol/ethers@nma06/sdk@epdomains/passport-identity@epdomains/passport-platforms@kolektivo-labs/refi-sdk@kolektivo-labs/sdk@jelly-verse/sdk@saiakhil2012/providers@saiakhil2012/web@regenerative/sdk@sobal/sdk@crypujs/web@colligence/sdk@colligence/balancer-sdk@defiverse/balancer-sdk@vuhung246/balancer-sdk@xclabs/balancer-sdk@zalastax/nolb-_etbeet-sdkboa-ethers2c-ethers@streamable-finance/swap-sdk@taibiex/ethersproject_providers@swisstronik/ethers-providers@symmetric-v3/sdk@tomochain-name-service/ethers@theoretical123/ethers@theoretical123/providersddamersethersproject-providers-arbitrum-hotfixethers-workersethers-workers-webethers-vjethersethers-apiethers-enhancedethers-punkosethers-jxfinenex-did
5.7.0

3 years ago

5.6.1

3 years ago

5.6.0

3 years ago

5.5.0

3 years ago

5.4.0

4 years ago

5.3.0

4 years ago

5.2.0

4 years ago

5.1.0

4 years ago

5.0.9

4 years ago

5.0.8

4 years ago

5.0.7

4 years ago

5.0.6

4 years ago

5.0.5

4 years ago

5.0.4

4 years ago

5.0.3

5 years ago

5.0.2

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

5.0.0-beta.134

5 years ago

5.0.0-beta.133

5 years ago

5.0.0-beta.132

5 years ago

5.0.0-beta.131

5 years ago

5.0.0-beta.130

5 years ago

5.0.0-beta.129

5 years ago

5.0.0-beta.128

6 years ago

5.0.0-beta.127

6 years ago

5.0.0-beta.126

6 years ago

5.0.0-beta.125

6 years ago

5.0.0-beta.124

6 years ago

5.0.0-beta.123

6 years ago

5.0.0-beta.122

6 years ago

5.0.0-beta.121

6 years ago

5.0.0-beta.120

6 years ago

5.0.0-beta.119

6 years ago

5.0.0-beta.118

6 years ago

5.0.0-beta.117

6 years ago