Class ArrayBuffer
Nome do espaço: Aspose.Html Assembleia: Aspose.HTML.dll (25.4.0)
O objeto ArrayBuffer é usado para representar um buffer de dados binários crus de comprimento fixo genérico.
[ComVisible(true)]
[DOMObject]
[DOMName("ArrayBuffer")]
public class ArrayBuffer : DOMObject, INotifyPropertyChanged
Inheritance
object ← DOMObject ← ArrayBuffer
Implements
Membros herdados
DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ArrayBuffer(Int)
Inicia uma nova instância da classe Aspose.Html.ArrayBuffer.
public ArrayBuffer(int length)
Parameters
length
int
O tamanho, em bytes, do array buffer para criar.
ArrayBuffer(em byte[])
Inicia uma nova instância da classe Aspose.Html.ArrayBuffer.
public ArrayBuffer(byte[] data)
Parameters
data
byte
[ ]
Os dados binários crus.
Properties
ByteLength
A propriedade do acessório de comprimento representa o comprimento de um ArrayBuffer em bytes.
[DOMName("byteLength")]
public int ByteLength { get; }
Valor da propriedade
Esta[Int]
Recebe ou coloca o System.Byte no índice especificado.
public byte this[int index] { get; set; }
Valor da propriedade
Operators
Bite de operador explicit
Realizou uma conversão explícita de Aspose.Html.ArrayBuffer para System.Byte[].
public static explicit operator byte[](ArrayBuffer value)
Parameters
value
ArrayBuffer
O valor .
Returns
byte [ ]
O resultado da conversão.