Skip to content

encodeBase64String

string encodeBase64String(text)
string encodeBase64String(text, includeLineBreaks)

Apply the Base64 encoder to an input buffer and return the encoded text.

ParameterRequired?Description
textYCharacter buffer to encoded. May be empty.
includeLineBreaksNBoolean indicating whether the encoded output should include line breaks (true) or not (false).

Default when omitted is false.

Released under the Apache-2.0 License.