• Copy a range of bytes from one ArrayBuffer or TypedArray to another.

    start/length are in elements (or in bytes, if ArrayBuffer).

    Parameters

    • src: {
          length?: number;
          src: ArrayBuffer | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float16Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array;
          start?: number;
      }
      • Optional length?: number
      • src: ArrayBuffer | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float16Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array
      • Optional start?: number
    • dst: {
          dst: ArrayBuffer | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float16Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array;
          start?: number;
      }
      • dst: ArrayBuffer | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float16Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array
      • Optional start?: number

    Returns void

Generated using TypeDoc