Version: 2022.3
言語: 日本語

UploadHandlerRawConstructor

マニュアルに切り替える
public UploadHandlerRaw (byte[] data);

パラメーター

data リモートサーバーに送信する RAW データ

説明

一般的なコンストラクターです。 Input 引数の内容はネイティブのバッファーにコピーされます。


public UploadHandlerRaw (NativeArray<byte> data, bool transferOwnership);

パラメーター

data The raw data to transmit to the remote server.
transferOwnership When true, the upload handler takes ownership of the passed NativeArray. This means the upload handler will dispose of the NativeArray when the upload handler itself is disposed of. When false, NativeArray is owned by the caller and you must ensure it remains valid until the upload is complete.

説明

Creates an upload handler using NativeArray.


public UploadHandlerRaw (ReadOnly<byte> data);

パラメーター

data The raw data to transmit to the remote server.

説明

Creates an upload handler using a read-only NativeArray. The passed array is owned by the caller and you must ensure it remains valid until the upload is complete.