Class NativeUint8ClampedArray

All Implemented Interfaces:
Serializable, Iterable<Integer>, Collection<Integer>, List<Integer>, RandomAccess, SequencedCollection<Integer>, ConstProperties, DebuggableObject, ExternalArrayData, IdFunctionCall, Scriptable

public class NativeUint8ClampedArray extends NativeTypedArrayView<Integer>
An array view that stores 8-bit quantities and implements the JavaScript "Uint8ClampedArray" interface. It also implements List for direct manipulation in Java. Bytes inserted that fall out of the range (0 invalid input: '<'= X invalid input: '<' 256) will be adjusted so that they match before insertion.
See Also:
  • Constructor Details

    • NativeUint8ClampedArray

      public NativeUint8ClampedArray()
    • NativeUint8ClampedArray

      public NativeUint8ClampedArray(NativeArrayBuffer ab, int off, int len)
    • NativeUint8ClampedArray

      public NativeUint8ClampedArray(int len)
  • Method Details