using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using UnityEngine.Scripting; namespace UnityEngine.Networking { // Token: 0x02000295 RID: 661 [StructLayout(LayoutKind.Sequential)] public sealed class DownloadHandlerBuffer : DownloadHandler { // Token: 0x06002D3C RID: 11580 RVA: 0x000400DC File Offset: 0x0003E2DC public DownloadHandlerBuffer() { base.InternalCreateBuffer(); } // Token: 0x06002D3D RID: 11581 RVA: 0x000400EC File Offset: 0x0003E2EC protected override byte[] GetData() { return this.InternalGetData(); } // Token: 0x06002D3E RID: 11582 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern byte[] InternalGetData(); // Token: 0x06002D3F RID: 11583 RVA: 0x00040108 File Offset: 0x0003E308 public static string GetContent(UnityWebRequest www) { return DownloadHandler.GetCheckedDownloader(www).text; } } }