WebAssemblyJSRuntime.SendByteArray(Int32, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.