• Parameters

    • stringToEncode: string

      the binary string to encode

    Returns string

    an ASCII string containing the base64 representation of stringToEncode