Click or drag to resize

IDataView Interface

Represents a JavaScript DataView.

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

The IDataView type exposes the following members.

Properties
  NameDescription
Public propertyArrayBuffer
Gets view's underlying ArrayBuffer.
(Inherited from IArrayBufferView.)
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