Lens Scripting APIBrowse by CategoryUtilitiesData & EncodingUtf8NNamespaceCopy pageNamespace in the Lens Scripting API.Available on all platformsPlatform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.Platform detailsSnapchat — Fully supported.SPECS — Fully supported.Camera Kit Web — Fully supported.Camera Kit Mobile — Fully supported.Functions FunctionDescriptiondecodeDecodes a utf-8 Uint8Array to a utf-16 stringencodeEncodes a utf-16 string as a utf-8 Uint8Array