Uint8ClampedArray

  • Revision slug: JavaScript/Typed_arrays/Uint8ClampedArray
  • Revision title: Uint8ClampedArray
  • Revision id: 435517
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment

Revision Content

Uint8ClampedArray is similar to an Uint8Array where each item is a 8 bit (1 byte) unsigned integer. Values stored in this array are clamped to the range 0-255. Uint8ClampedArrays cannot change size after creation.

Revision Source

<p>Uint8ClampedArray is similar to an <a href="/en-US/docs/Web/JavaScript/typed_arrays/Uint8Array"><code>Uint8Array</code></a> where each item is a 8 bit (1 byte) unsigned integer. Values stored in this array are clamped to the range 0-255. Uint8ClampedArrays cannot change size after creation.</p>
Revert to this revision