Class ArrayBuffer

Class ArrayBuffer

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

ArrayBufferオブジェクトは、一般的な固定長の生バイナリデータバッファを表すために使用されます。

[ComVisible(true)]
[DOMObject]
[DOMName("ArrayBuffer")]
public class ArrayBuffer : DOMObject, INotifyPropertyChanged

継承

objectDOMObjectArrayBuffer

実装

INotifyPropertyChanged

継承されたメンバー

DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

コンストラクター

ArrayBuffer(int)

Aspose.Html.ArrayBufferクラスの新しいインスタンスを初期化します。

public ArrayBuffer(int length)

パラメーター

length int

作成する配列バッファのサイズ(バイト単位)。

ArrayBuffer(byte[])

Aspose.Html.ArrayBufferクラスの新しいインスタンスを初期化します。

public ArrayBuffer(byte[] data)

パラメーター

data byte[]

生のバイナリデータ。

プロパティ

ByteLength

byteLengthアクセサプロパティは、ArrayBufferの長さをバイト単位で表します。

[DOMName("byteLength")]
public int ByteLength { get; }

プロパティ値

int

this[int]

指定されたインデックスのSystem.Byteを取得または設定します。

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

プロパティ値

byte

演算子

explicit operator byte[](ArrayBuffer)

Aspose.Html.ArrayBufferからSystem.Byte[]への明示的な変換を実行します。

public static explicit operator byte[](ArrayBuffer value)

パラメーター

value ArrayBuffer

値。

戻り値

byte[]

変換の結果。

 日本語