Function

GLib-2.0GLibbyte_array_refSince 2.22

  • Atomically increments the reference count of array by one. This function is thread-safe and may be called from any thread.

    Parameters

    • array: string | Uint8Array<ArrayBufferLike>

      a byte array

    Returns Uint8Array

    The passed in GLib.ByteArray

    2.22