ドキュメント

Unity Engine

Unity Engine

UploadHandlerRaw

General constructor. Contents of the input argument are copied into a native buffer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

UploadHandlerRaw(byte[])

General constructor. Contents of the
input
argument are copied into a native buffer.
public UploadHandlerRaw(byte[] data)

Parameters

data

Raw data to transmit to the remote server.

UploadHandlerRaw(NativeArray<byte>, bool)

Creates an upload handler using NativeArray.
public UploadHandlerRaw(NativeArray<byte> data, bool transferOwnership)

Parameters

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.

UploadHandlerRaw(ReadOnly)

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.
public UploadHandlerRaw(NativeArray<byte>.ReadOnly data)

Parameters

The raw data to transmit to the remote server.