An example how to use the function bin2base64 in Omnis Studio code
Omnis Studio 8.1.x or later.
- Clone this repository
- Start Omnis Studio and click in the Studio browser on New Lib from JSON
- Select the source location and the target location of the library
- Click on Import...
This library contains a window with a pushbutton. Clicking on it will convert the text Hello world to utf8 and then to base64. The last line converts the base64 to the character datatype to get the text representation of the base64 value.