Skip to main content

Base64.decode

Function

Decode a Base64 string to a byte array (Uint8Array).

  • 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.

decode(value): Uint8Array

Decode a Base64 string to a byte array (Uint8Array).

Parameters

ParameterType
valuestring

Returns

Uint8Array