## ArrayBuffer class

The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer.

```csharp
public class ArrayBuffer : DOMObject
```

## Constructors

| Name | Description |
| --- | --- |
| [ArrayBuffer](arraybuffer/#constructor)(*byte[]*) | Initializes a new instance of the `ArrayBuffer` class. |
| [ArrayBuffer](arraybuffer/#constructor_1)(*int*) | Initializes a new instance of the `ArrayBuffer` class. |

## Properties

| Name | Description |
| --- | --- |
| [ByteLength](../../aspose.html/arraybuffer/bytelength/) { get; } | The byteLength accessor property represents the length of an ArrayBuffer in bytes. |
| [Item](../../aspose.html/arraybuffer/item/) { get; set; } | Gets or sets the Byte at the specified index. |

## Methods

| Name | Description |
| --- | --- |
| virtual [GetPlatformType](../../aspose.html.dom/domobject/getplatformtype/)() | This method is used to retrieve the ECMAScript object Type. |
| [explicit operator](../../aspose.html/arraybuffer/op_explicit/) | Performs an explicit conversion from `ArrayBuffer` to Byte[]. |

### See Also

* class [DOMObject](../../aspose.html.dom/domobject/)
* namespace [Aspose.Html](../../aspose.html/)
* assembly [Aspose.HTML](../../)
