JSUint8ClampedArray constructor

  1. @Since('3.6')
JSUint8ClampedArray([
  1. JSArrayBuffer buffer,
  2. int byteOffset,
  3. int length
])

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

If no buffer is provided, creates an empty Uint8ClampedArray.

Implementation

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