Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue

base64EncodeJbase64Encode(value, format) Encodes a string containing bytes using base64.

...

Argument

Type

Description

value

String

A string of bytes to be encoded

format

String (Optional)

BASIC: standard base64 algorithm,
URL: Url safe variant,
MIME: Mime compatible.
JWT: URL safe with padding (=) removed

Defaults to BASIC

Examples

...