# ArrayBuffer wx.base64ToArrayBuffer(string base64)

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 Base64 String ArrayBuffer object

# parameter

# string base64

To translate into ArrayBuffer Object Base64 Character string

# Return value

# ArrayBuffer

ArrayBuffer object

# sample code


const base64 = 'CxYh'
const arrayBuffer = wx.base64ToArrayBuffer(base64)