Skip to content

toBase64

toBase64(binary) → string · Binary

Convert binary data to a Base64-encoded string.

  • binary (required): binary data to encode
utlx
toBase64(toBinary("Hello", "UTF-8"))     // "SGVsbG8="

Released under AGPL-3.0.