Click or drag to resize

IArrayBufferView Methods

The IArrayBufferView type exposes the following members.

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.
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(Action<IntPtr>) Invokes a delegate that returns no value, giving it direct access to the view's contents.
Public methodInvokeWithDirectAccess<TResult>(Func<IntPtr, TResult>) Invokes a delegate that returns a value, giving it direct access to the view's contents.
Public methodInvokeWithDirectAccess<TArg>(Action<IntPtr, TArg>, TArg) Invokes a delegate that takes an argument and returns no value, giving it direct access to the view's contents.
Public methodInvokeWithDirectAccess<TArg, TResult>(Func<IntPtr, TArg, TResult>, TArg) Invokes a delegate that takes an argument and returns a value, giving it direct access to the view's contents.
Public methodReadBytes(UInt64, UInt64, Byte[], UInt64) Copies bytes from the view into the specified byte array.
Public methodReadBytes(UInt64, UInt64, Span<Byte>, UInt64) Copies bytes from the view into the specified byte span.
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(Byte[], UInt64, UInt64, UInt64) Copies bytes from the specified byte array into the view.
Public methodWriteBytes(ReadOnlySpan<Byte>, UInt64, UInt64, UInt64) Copies bytes from the specified byte span into the view.
Top
See Also