Function

GLib-2.0GLibbyte_array_unrefSince 2.22

  • Atomically decrements the reference count of array by one. If the reference count drops to 0, all memory allocated by the array is released. This function is thread-safe and may be called from any thread.

    Parameters

    • array: string | Uint8Array<ArrayBufferLike>

      a byte array

    Returns void

    2.22