User Tools

Site Tools


dictionary:bitwise:base64encode

This is an old revision of the document!


Table of Contents

Base64 Encode

The base64 encode verb is a way of encoding binary data to base64. This can be useful when needing to send binary data, such as a picture or an iTunes cover or something over a websocket or other text only pipe. It could also be useful when creating an authentication string to include with an http request or other such communication.

The verb accepts any data type as it’s default parameter and will return a text string of the base64 encoded data

Usage:

<code> set myEncodedData to base64 encode “some binary or textual information”

write log myEncodedData <code>

History:

  • base64 encode was added to XTension in version 9.4.32
dictionary/bitwise/base64encode.1595076784.txt.gz · Last modified: 2023/02/13 14:51 (external edit)