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.4.5
Syntax
public interface ITypedArray : IArrayBufferView, 
	IJavaScriptObject, IScriptObject, IDisposable

The ITypedArray type exposes the following members.

Properties
 NameDescription
Public propertyArrayBuffer Gets view's underlying ArrayBuffer.
(Inherited from IArrayBufferView)
Public propertyEngine Gets the script engine that owns the object.
(Inherited from IScriptObject)
Public propertyFlags Gets the JavaScript object's attributes.
(Inherited from IJavaScriptObject)
Public propertyItemInt32 Gets or sets the value of an indexed script object property.
(Inherited from IScriptObject)
Public propertyItemString, Object Gets or sets the value of a named script object property.
(Inherited from IScriptObject)
Public propertyKind Gets the JavaScript object kind.
(Inherited from IJavaScriptObject)
Public propertyLength Gets the typed array's length.
Public propertyOffset Gets the view's offset within the underlying ArrayBuffer.
(Inherited from IArrayBufferView)
Public propertyPropertyIndices Enumerates the script object's property indices.
(Inherited from IScriptObject)
Public propertyPropertyNames Enumerates the script object's property names.
(Inherited from IScriptObject)
Public propertySize Gets the view's size in bytes.
(Inherited from IArrayBufferView)
Top
Methods
 NameDescription
Public methodDeleteProperty(Int32) Removes an indexed script object property.
(Inherited from IScriptObject)
Public methodDeleteProperty(String) Removes a named script object property.
(Inherited from IScriptObject)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetBytes Creates a byte array containing a copy of the view's contents.
(Inherited from IArrayBufferView)
Public methodGetProperty(Int32) Gets the value of an indexed script object property.
(Inherited from IScriptObject)
Public methodGetProperty(String, Object) Gets the value of a named script object property.
(Inherited from IScriptObject)
Public methodInvoke Invokes the script object.
(Inherited from IScriptObject)
Public methodInvokeAsFunction Invokes the script object as a function.
(Inherited from IScriptObject)
Public methodInvokeMethod Invokes a script object method.
(Inherited from IScriptObject)
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 methodSetProperty(Int32, Object) Sets the value of an indexed script object property.
(Inherited from IScriptObject)
Public methodSetProperty(String, Object) Sets the value of a named script object property.
(Inherited from IScriptObject)
Public methodWriteBytes Copies bytes from the specified byte array into the view.
(Inherited from IArrayBufferView)
Top
See Also