語言

WebAssemblyJSRuntime.SendByteArray(Int32, Byte[]) 方法

定義

將一個位元組陣列從 .NET 轉移到 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())

參數

id
Int32

傳輸中位元組陣列的原子遞增識別碼。

data
Byte[]

位元組陣列要轉移到 JS。

適用於