Class Uint16Array

Class Uint16Array

Namespace: Aspose.Html
Assembly: Aspose.HTML.dll (25.2.0)

Represents an array of twos-complement 16-bit unsigned integers in the platform byte order.

[DOMName("Uint16Array")]
[ComVisible(true)]
[DOMObject]
public class Uint16Array : TypedArray<ushort>, INotifyPropertyChanged

Inheritance

objectDOMObjectTypedArrayTypedArray<ushort>Uint16Array

Implements

INotifyPropertyChanged

Inherited Members

TypedArray<ushort>.this[int], TypedArray.Buffer, TypedArray.ByteLength, TypedArray.ByteOffset, TypedArray.Length, DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

Uint16Array(int)

Initializes a new instance of the Aspose.Html.Uint16Array class.

public Uint16Array(int length)

Parameters

length int

The length (number of elements).

Uint16Array(ushort[])

Initializes a new instance of the Aspose.Html.Uint16Array class.

public Uint16Array(ushort[] data)

Parameters

data ushort[]

The array data.

Uint16Array(ArrayBuffer)

Initializes a new instance of the Aspose.Html.Uint16Array class.

public Uint16Array(ArrayBuffer buffer)

Parameters

buffer ArrayBuffer

The data buffer.

Uint16Array(ArrayBuffer, int)

Initializes a new instance of the Aspose.Html.Uint16Array class.

public Uint16Array(ArrayBuffer buffer, int byteOffset)

Parameters

buffer ArrayBuffer

The data buffer.

byteOffset int

The byte offset.

Uint16Array(ArrayBuffer, int, int)

Initializes a new instance of the Aspose.Html.Uint16Array class.

public Uint16Array(ArrayBuffer buffer, int byteOffset, int length)

Parameters

buffer ArrayBuffer

The data buffer.

byteOffset int

The byte offset.

length int

The length.

Fields

BYTES_PER_ELEMENT

The property represents the size in bytes of each element in an typed array.

[DOMName("BYTES_PER_ELEMENT")]
public static readonly byte BYTES_PER_ELEMENT

Field Value

byte

Properties

this[int]

Gets or sets the System.UInt16 at the specified index.

public override ushort this[int index] { get; set; }

Property Value

ushort </ushort></ushort>