Rate this page:

base64_encode

Copy URL
base64_encode(data: 

string

|

number[]

):

string

Evaluates to given data encoded via Base64 encoding

Parameters

  • data:

    string

    String or array of integers from 0 to 255 to encode

Returns

  • type:

    string