ArrayBuffer Class

ArrayBuffer class

The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer.

public class ArrayBuffer : DOMObject

Constructors

NameDescription
ArrayBuffer(byte[])Initializes a new instance of the ArrayBuffer class.
ArrayBuffer(int)Initializes a new instance of the ArrayBuffer class.

Properties

NameDescription
ByteLength { get; }The byteLength accessor property represents the length of an ArrayBuffer in bytes.
Item { get; set; }Gets or sets the Byte at the specified index.

Methods

NameDescription
virtual GetPlatformType()This method is used to retrieve the ECMAScript object Type.
explicit operatorPerforms an explicit conversion from ArrayBuffer to Byte[].

See Also