C# Class UnityEngine.Networking.DownloadHandlerBuffer

Inheritance: DownloadHandler
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
DownloadHandlerBuffer ( ) : System

Default constructor.

GetContent ( UnityWebRequest www ) : string

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

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
InternalGetData ( ) : byte[]
InternalGetText ( ) : string

Method Details

DownloadHandlerBuffer() public méthode

Default constructor.

public DownloadHandlerBuffer ( ) : System
Résultat System

GetContent() public static méthode

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.
Résultat string

GetData() protected méthode

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

protected GetData ( ) : byte[]
Résultat byte[]

GetText() protected méthode

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

protected GetText ( ) : string
Résultat string