Class Uint8Array

Class Uint8Array

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

Represents an array of twos-complement 8-bit unsigned integers.

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

Inheritance

objectDOMObjectTypedArrayTypedArray<byte>Uint8Array

Implements

INotifyPropertyChanged

Inherited Members

TypedArray<byte>.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

Uint8Array(int)

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

public Uint8Array(int length)

Parameters

length int

The length (number of elements).

Uint8Array(byte[])

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

public Uint8Array(byte[] data)

Parameters

data byte[]

The array data.

Uint8Array(ArrayBuffer)

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

public Uint8Array(ArrayBuffer buffer)

Parameters

buffer ArrayBuffer

The data buffer.

Uint8Array(ArrayBuffer, int)

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

public Uint8Array(ArrayBuffer buffer, int byteOffset)

Parameters

buffer ArrayBuffer

The data buffer.

byteOffset int

The byte offset.

Uint8Array(ArrayBuffer, int, int)

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

public Uint8Array(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.Byte at the specified index.

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

Property Value

byte </byte></byte>