C# Класс UnityEngine.Networking.DownloadHandlerBuffer

Наследование: DownloadHandler
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DownloadHandlerBuffer ( ) : System

Default constructor.

GetContent ( UnityWebRequest www ) : string

Returns a copy of the native-memory buffer interpreted as a UTF8 string.

Защищенные методы

Метод Описание
GetData ( ) : byte[]

Returns a copy of the contents of the native-memory data buffer as a byte array.

GetText ( ) : string

Returns a copy of the native-memory buffer interpreted as a UTF8 string.

Приватные методы

Метод Описание
InternalGetData ( ) : byte[]
InternalGetText ( ) : string

Описание методов

DownloadHandlerBuffer() публичный Метод

Default constructor.

public DownloadHandlerBuffer ( ) : System
Результат System

GetContent() публичный статический Метод

Returns a copy of the native-memory buffer interpreted as a UTF8 string.

public static GetContent ( UnityWebRequest www ) : string
www UnityWebRequest A finished UnityWebRequest object with DownloadHandlerBuffer attached.
Результат string

GetData() защищенный Метод

Returns a copy of the contents of the native-memory data buffer as a byte array.

protected GetData ( ) : byte[]
Результат byte[]

GetText() защищенный Метод

Returns a copy of the native-memory buffer interpreted as a UTF8 string.

protected GetText ( ) : string
Результат string