# string wx.arrayBufferToBase64(ArrayBuffer arrayBuffer)

Start from base library version 1.1.0. Please remaining backward compatible.

From base library 2.4.0 Start, this interface stops maintenance

with Promise style call: Not supported

Mini Program plugin: Support

will ArrayBuffer Object conversion Base64 Character string

# parameter

# ArrayBuffer arrayBuffer

To convert Base64 String ArrayBuffer object

# Return value

# string

Base64 Character string

# sample code


const arrayBuffer = new Uint8Array([11, 22, 33])
const base64 = wx.arrayBufferToBase64(arrayBuffer)