text: // Autogenerated from CppHeaderCreator
  // Created by Sc2ad
  // =========================================================================
  #pragma once
  // Begin includes
  #include "extern/beatsaber-hook/shared/utils/typedefs.h"
  // Including type: System.IDisposable
  #include "System/IDisposable.hpp"
  // Including type: System.IntPtr
  #include "System/IntPtr.hpp"
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-properties.hpp"
  #include "extern/beatsaber-hook/shared/utils/il2cpp-utils-fields.hpp"
  #include "extern/beatsaber-hook/shared/utils/utils.h"
  // Completed includes
  // Begin forward declares
  // Forward declaring namespace: System::Text
  namespace System::Text {
    // Forward declaring type: Encoding
    class Encoding;
  }
  // Forward declaring namespace: UnityEngine::Networking
  namespace UnityEngine::Networking {
    // Forward declaring type: UnityWebRequest
    class UnityWebRequest;
  }
  // Completed forward declares
  // Type namespace: UnityEngine.Networking
  namespace UnityEngine::Networking {
    // Size: 0x18
    #pragma pack(push, 1)
    // WARNING Layout: Sequential may not be correctly taken into account!
    // Autogenerated type: UnityEngine.Networking.DownloadHandler
    // [NativeHeaderAttribute] Offset: DDAD54
    class DownloadHandler : public ::Il2CppObject/*, public System::IDisposable*/ {
      public:
      // [VisibleToOtherModulesAttribute] Offset: 0xDDAF24
      // System.IntPtr m_Ptr
      // Size: 0x8
      // Offset: 0x10
      System::IntPtr m_Ptr;
      // Field size check
      static_assert(sizeof(System::IntPtr) == 0x8);
      // Creating value type constructor for type: DownloadHandler
      DownloadHandler(System::IntPtr m_Ptr_ = {}) noexcept : m_Ptr{m_Ptr_} {}
      // Creating interface conversion operator: operator System::IDisposable
      operator System::IDisposable() noexcept {
        return *reinterpret_cast<System::IDisposable*>(this);
      }
      // Creating conversion operator: operator System::IntPtr
      constexpr operator System::IntPtr() const noexcept {
        return m_Ptr;
      }
      // private System.Void Release()
      // Offset: 0x23ABAB0
      void Release();
      // public System.Void Dispose()
      // Offset: 0x23ABB60
      void Dispose();
      // public System.String get_text()
      // Offset: 0x23ABBE0
      ::Il2CppString* get_text();
      // protected System.Byte[] GetData()
      // Offset: 0x23ABBEC
      ::Array<uint8_t>* GetData();
      // protected System.String GetText()
      // Offset: 0x23ABBF4
      ::Il2CppString* GetText();
      // private System.Text.Encoding GetTextEncoder()
      // Offset: 0x23ABC94
      System::Text::Encoding* GetTextEncoder();
      // private System.String GetContentType()
      // Offset: 0x23ABF00
      ::Il2CppString* GetContentType();
      // static protected T GetCheckedDownloader(UnityEngine.Networking.UnityWebRequest www)
      // Offset: 0xFFFFFFFF
      template<class T>
      static T GetCheckedDownloader(UnityEngine::Networking::UnityWebRequest* www) {
        static_assert(std::is_convertible_v<T, UnityEngine::Networking::DownloadHandler*>);
        static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::Networking::DownloadHandler::GetCheckedDownloader");
        static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.Networking", "DownloadHandler", "GetCheckedDownloader", std::vector<Il2CppClass*>{::il2cpp_utils::il2cpp_type_check::il2cpp_no_arg_class<T>::get()}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(www)})));
        static auto* ___generic__method = THROW_UNLESS(::il2cpp_utils::MakeGenericMethod(___internal__method, std::vector<Il2CppClass*>{::il2cpp_utils::il2cpp_type_check::il2cpp_no_arg_class<T>::get()}));
        return ::il2cpp_utils::RunMethodThrow<T, false>(static_cast<Il2CppClass*>(nullptr), ___generic__method, www);
      }
      // static System.Byte[] InternalGetByteArray(UnityEngine.Networking.DownloadHandler dh)
      // Offset: 0x23ABF40
      static ::Array<uint8_t>* InternalGetByteArray(UnityEngine::Networking::DownloadHandler* dh);
      // System.Void .ctor()
      // Offset: 0x23ABAF0
      // Implemented from: System.Object
      // Base method: System.Void Object::.ctor()
      template<::il2cpp_utils::CreationType creationType = ::il2cpp_utils::CreationType::Temporary>
      static DownloadHandler* New_ctor() {
        static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::Networking::DownloadHandler::.ctor");
        return THROW_UNLESS((::il2cpp_utils::New<DownloadHandler*, creationType>()));
      }
      // protected override System.Void Finalize()
      // Offset: 0x23ABAF8
      // Implemented from: System.Object
      // Base method: System.Void Object::Finalize()
      void Finalize();
    }; // UnityEngine.Networking.DownloadHandler
    #pragma pack(pop)
    static check_size<sizeof(DownloadHandler), 16 + sizeof(System::IntPtr)> __UnityEngine_Networking_DownloadHandlerSizeCheck;
    static_assert(sizeof(DownloadHandler) == 0x18);
  }
  DEFINE_IL2CPP_ARG_TYPE(UnityEngine::Networking::DownloadHandler*, "UnityEngine.Networking", "DownloadHandler");
  