Version: 2022.1
언어: 한국어

UploadHandlerRawConstructor

매뉴얼로 전환
public UploadHandlerRaw (byte[] data);

파라미터

data Raw data to transmit to the remote server.

설명

General constructor. Contents of the input argument are copied into a native buffer.


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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961