Click or drag to resize

ITypedArray Interface

Defines properties and methods common to all JavaScript typed arrays.

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

The ITypedArray type exposes the following members.

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