Libraries
bignum
binary
bitmap
ble
bytes
core
crypto
device
encoding
base64
hex
json
tison
ubjson
url
yaml
esp32
expect
fixed-point
flash
font
gpio
i2c
i2s
icons
io
line-wrap
log
math
monitor
net
pulse-counter
reader
reader-writer
rmt
serial
spi
statistics
system
tls
uart
uuid
writer
zlib
Library base64
To use this library in your code:
import encoding.base64
Functions
decode
data/
Data
--url-mode/
bool
=
false
->
ByteArray
Takes a valid base64 encoding (without newlines or other non-base64 characters) and returns the binary data.
In URL mode the data must be valid base64url encoding.
encode
data/
Data
--url-mode/
bool
=
false
->
string
Encodes the given
data
as base64 or base64url.