JSRuntime.SendByteArray(Int32, Byte[]) Method

Definition

Transfers a byte array from .NET to JS.

protected internal virtual void SendByteArray (int id, byte[] data);
abstract member SendByteArray : int * byte[] -> unit
override this.SendByteArray : int * byte[] -> unit
Protected Friend Overridable Sub SendByteArray (id As Integer, data As Byte())

Parameters

id
Int32

Atomically incrementing identifier for the byte array being transfered.

data
Byte[]

Byte array to be transfered to JS.

Applies to