Versions Compared

Key

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

...

Excerpt

Encodes text in Base64. This is useful when transferring data like attaching a signature to the bottom of an email or storing images in a database.

Parameters

Parameter name

Type

Required

Description

textToEncode

string

Yes

Text to encode in Base64.

Return type

String

Returns the input text base64 encoded

...