btoa

Method of IApplication

Creates a base-64 encoded ASCII string from a string of binary data.

Return Value

JavaScript

var pstrText = Application.btoa(data);

Visual Basic Script

pstrText = Application.btoa data

C++

BSTR pstrText;
HRESULT hr = Application.btoa(data, &pstrText);