## Uint8Array class

Represents an array of twos-complement 8-bit unsigned integers.

```csharp
public class Uint8Array : TypedArray<byte>
```

## Constructors

| Name | Description |
| --- | --- |
| [Uint8Array](uint8array/#constructor)(*[ArrayBuffer](../arraybuffer/)*) | Initializes a new instance of the `Uint8Array` class. |
| [Uint8Array](uint8array/#constructor_3)(*byte[]*) | Initializes a new instance of the `Uint8Array` class. |
| [Uint8Array](uint8array/#constructor_4)(*int*) | Initializes a new instance of the `Uint8Array` class. |
| [Uint8Array](uint8array/#constructor_1)(*[ArrayBuffer](../arraybuffer/), int*) | Initializes a new instance of the `Uint8Array` class. |
| [Uint8Array](uint8array/#constructor_2)(*[ArrayBuffer](../arraybuffer/), int, int*) | Initializes a new instance of the `Uint8Array` class. |

## Properties

| Name | Description |
| --- | --- |
| [Buffer](../../aspose.html/typedarray/buffer/) { get; } | Gets the ArrayBuffer referenced by this instance. |
| [ByteLength](../../aspose.html/typedarray/bytelength/) { get; } | Gets the byteLength accessor property represents the length of an ArrayBuffer in bytes. |
| [ByteOffset](../../aspose.html/typedarray/byteoffset/) { get; } | Gets the byteOffset from the start of referenced ArrayBuffer. |
| override [Item](../../aspose.html/uint8array/item/) { get; set; } | Gets or sets the Byte at the specified index. |
| [Length](../../aspose.html/typedarray/length/) { get; } | Gets the length of a typed array. |

## Methods

| Name | Description |
| --- | --- |
| virtual [GetPlatformType](../../aspose.html.dom/domobject/getplatformtype/)() | This method is used to retrieve the ECMAScript object Type. |

## Fields

| Name | Description |
| --- | --- |
| static readonly [BYTES_PER_ELEMENT](../../aspose.html/uint8array/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/)
* namespace [Aspose.Html](../../aspose.html/)
* assembly [Aspose.HTML](../../)
