Function

GLib-2.0GLibbyte_array_remove_rangeSince 2.4

  • Removes the given number of bytes starting at the given index from a GLib.ByteArray. The following elements are moved to close the gap.

    Parameters

    • array: string | Uint8Array<ArrayBufferLike>

      a byte array

    • index_: number

      the index of the first byte to remove

    • length: number

      the number of bytes to remove

    Returns Uint8Array

    The GLib.ByteArray

    2.4