Click or drag to resize

IArrayBuffer Interface

Represents a JavaScript ArrayBuffer.

Namespace:  Microsoft.ClearScript.JavaScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntax
public interface IArrayBuffer

The IArrayBuffer type exposes the following members.

Properties
  NameDescription
Public propertySize
Gets the size of the ArrayBuffer in bytes.
Top
Methods
  NameDescription
Public methodGetBytes
Creates a byte array containing a copy of the ArrayBuffer's contents.
Public methodInvokeWithDirectAccess(ActionIntPtr)
Invokes a delegate that returns no value, giving it direct access to the ArrayBuffer's contents.
Public methodInvokeWithDirectAccessT(FuncIntPtr, T)
Invokes a delegate that returns a value, giving it direct access to the ArrayBuffer's contents.
Public methodReadBytes
Copies bytes from the ArrayBuffer into the specified byte array.
Public methodWriteBytes
Copies bytes from the specified byte array into the ArrayBuffer.
Top
See Also