Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


data

Returns the raw bytes downloaded from the remote server, or null. (Read Only)
Read time 1 minuteLast updated 6 days ago

Definition

public byte[] data { get; }

Remarks

This property returns the raw bytes downloaded from the remote server. If no data has yet been received, this property returns
null
.
Note: Note: The precise memory allocation behavior of this property changes depending on subclass. See subclass documentation of DownloadHandler.GetData() for further information on exactly how the data property handles memory allocation.