Class Int16Array
Namespace: Aspose.Html
Assembly: Aspose.HTML.dll (25.2.0)
Represents an array of twos-complement 16-bit signed integers in the platform byte order.
[DOMName("Int16Array")]
[DOMObject]
[ComVisible(true)]
public class Int16Array : TypedArray<short>, INotifyPropertyChanged
Inheritance
object ← DOMObject ← TypedArray ← TypedArray<short> ← Int16Array
Implements
Inherited Members
TypedArray<short>.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
Int16Array(int)
Initializes a new instance of the Aspose.Html.Int16Array class.
public Int16Array(int length)
Parameters
length
int
The length (number of elements).
Int16Array(short[])
Initializes a new instance of the Aspose.Html.Int16Array class.
public Int16Array(short[] data)
Parameters
data
short[]
The array data.
Int16Array(ArrayBuffer)
Initializes a new instance of the Aspose.Html.Int16Array class.
public Int16Array(ArrayBuffer buffer)
Parameters
buffer
ArrayBuffer
The data buffer.
Int16Array(ArrayBuffer, int)
Initializes a new instance of the Aspose.Html.Int16Array class.
public Int16Array(ArrayBuffer buffer, int byteOffset)
Parameters
buffer
ArrayBuffer
The data buffer.
byteOffset
int
The byte offset.
Int16Array(ArrayBuffer, int, int)
Initializes a new instance of the Aspose.Html.Int16Array class.
public Int16Array(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
Properties
this[int]
Gets or sets the System.Int16 at the specified index.
public override short this[int index] { get; set; }
Property Value
short </short></short>