Rate this page:

base64_encode

Copy URL
base64_encode(data: 

string

|

number[]

):

string

Encodes a string or array of integers from 0 to 255 to the Base64 encoding

Parameters

  • data:

    string

    String or array of integers from 0 to 255 to encode

Returns

  • type:

    string