C# Class UnityEngine.Networking.DownloadHandlerBuffer

Inheritance: DownloadHandler
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
DownloadHandlerBuffer ( ) : System

Default constructor.

GetContent ( UnityWebRequest www ) : string

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

Protected Methods

Method 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

Method Description
InternalGetData ( ) : byte[]
InternalGetText ( ) : string

Method Details

DownloadHandlerBuffer() public method

Default constructor.

public DownloadHandlerBuffer ( ) : System
return System

GetContent() public static method

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.
return string

GetData() protected method

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

protected GetData ( ) : byte[]
return byte[]

GetText() protected method

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

protected GetText ( ) : string
return string