Skip to main content

Base64.encodeString

Function

Encode a string to Base64 format.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

encodeString(str): string

Encode a string to Base64 format.

Parameters

ParameterType
strstring

Returns

string