## Int16Array class

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

```java
public class Int16Array : TypedArray<short>
```

## Constructors

| Name | Description |
| --- | --- |
| [Int16Array](int16array/#constructor)(ArrayBuffer) | Initializes a new instance of the `Int16Array` class. |
| [Int16Array](int16array/#constructor_4)(int) | Initializes a new instance of the `Int16Array` class. |
| [Int16Array](int16array/#constructor_3)(short[]) | Initializes a new instance of the `Int16Array` class. |
| [Int16Array](int16array/#constructor_1)(ArrayBuffer, int) | Initializes a new instance of the `Int16Array` class. |
| [Int16Array](int16array/#constructor_2)(ArrayBuffer, int, int) | Initializes a new instance of the `Int16Array` class. |

## Properties

| Name | Description |
| --- | --- |
| [getBuffer](../../com.aspose.html/typedarray/buffer/) Gets the ArrayBuffer referenced by this instance. |
| [getByteLength](../../com.aspose.html/typedarray/bytelength/) Gets the byteLength accessor property represents the length of an ArrayBuffer in bytes. |
| [getByteOffset](../../com.aspose.html/typedarray/byteoffset/) Gets the byteOffset from the start of referenced ArrayBuffer. |
| [item](../../com.aspose.html/int16array/item/) { get; set; } | Gets or sets the Int16 at the specified index. |
| [getLength](../../com.aspose.html/typedarray/length/) Gets the length of a typed array. |

## Methods

| Name | Description |
| --- | --- |
| [getPlatformType](../../com.aspose.html.dom/domobject/getplatformtype/)() | This method is used to retrieve the ECMAScript object . |

## Fields

| Name | Description |
| --- | --- |
| static readonly [BYTES_PER_ELEMENT](../../com.aspose.html/int16array/bytes_per_element/) | The property represents the size in bytes of each element in an typed array. |

### See Also

* class [TypedArray&lt;T&gt;](../typedarray-1/)
* package [com.aspose.html](../../com.aspose.html/)
* package [Aspose.HTML](../../)
