Dela via


WebAssemblyJSRuntime.SendByteArray(Int32, Byte[]) Method

Definition

Transfers a byte array from .NET to JS.

protected override void SendByteArray (int id, byte[] data);
override this.SendByteArray : int * byte[] -> unit
Protected Overrides 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