• Encodes a utf-8 string to base64

    Parameters

    • value: string

      The utf-8 string to encode.

    Returns string

    The encoded base64 string.