Base64 encoding and decoding utilities
Decode a string from base64, using base64 "standard" encoding. Padding is always optional.
Base64-encoded string
Data decoded from the base64 string
Encode an ArrayBuffer to base64 in a string, using base64 "standard" encoding.
Data to encode to base64
Base64-encoded string
Hex encoding and decoding utilities
Decode a string from hex.
Hex-encoded string
Data decoded from the hex string
Encode an ArrayBuffer to hex in a string.
Data to encode to hex
Hex-encoded string
Generated using TypeDoc
This module exports the @base64 and @hex modules and it's the one used when importing the package with
import 'arraybuffer-encoding'
. You should consider using one of the submodules instead, such asimport 'arraybuffer-encoding/hex'
orimport 'arraybuffer-encoding/base64'