Uint8ClampedArray Class
Uint8ClampedArray class
Represents an array of 8-bit unsigned integers clamped to 0-255; if you specified a value that is out of the range of [0,255], 0 or 255 will be set instead;
public class Uint8ClampedArray : TypedArray<byte>
Constructors
Properties
Name | Description |
---|
Buffer { get; } | Gets the ArrayBuffer referenced by this instance. |
ByteLength { get; } | Gets the byteLength accessor property represents the length of an ArrayBuffer in bytes. |
ByteOffset { get; } | Gets the byteOffset from the start of referenced ArrayBuffer. |
override Item { get; set; } | Gets or sets the Byte at the specified index. |
Length { get; } | Gets the length of a typed array. |
Methods
Name | Description |
---|
virtual GetPlatformType() | This method is used to retrieve ECMAScript object Type. |
Fields
Name | Description |
---|
static readonly BYTES_PER_ELEMENT | The property represents the size in bytes of each element in an typed array. |
See Also