UnityEngine.Networking.DownloadHandlerBuffer.GetContent C# (CSharp) Method

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
        public static string GetContent(UnityWebRequest www)
        {
            return DownloadHandler.GetCheckedDownloader<DownloadHandlerBuffer>(www).text;
        }
    }