Function

GLib-2.0GLibbase64_encodeSince 2.12

  • Encode a sequence of binary data into its Base-64 stringified representation.

    Parameters

    • Optionaldata: Uint8Array<ArrayBufferLike>

      the binary data to encode

    Returns string

    a newly allocated, zero-terminated Base-64 encoded string representing data. The returned string must be freed with g_free().

    2.12