• Encodes the data decoded by Base64 into a character string.

    Parameters

    • content: any

      the content need to be encode

    Returns string

    Example


    import {encode} from 'base64';
    encode("I love china");