JSInt8Array constructor - JSInt8Array - dart:js_interop library (original) (raw)

description

  1. @Since('3.6')

JSInt8Array([

  1. JSArrayBuffer buffer,
  2. int byteOffset,
  3. int length ])

Creates a JavaScript Int8Array with buffer as its backing storage, offset by byteOffset bytes, of size length.

If no buffer is provided, creates an empty Int8Array.

Implementation

@Since('3.6')
external JSInt8Array([JSArrayBuffer buffer, int byteOffset, int length]);