// using HexaGen.Runtime; using System; using System.Diagnostics; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Dalamud.Bindings.ImGui; public unsafe partial struct ImGuiTextBufferPtr { public unsafe byte* begin() { byte* ret = ImGuiNative.begin(Handle); return ret; } public unsafe string beginS() { string ret = Utils.DecodeStringUTF8(ImGuiNative.begin(Handle)); return ret; } public unsafe byte* c_str() { byte* ret = ImGuiNative.c_str(Handle); return ret; } public unsafe string c_strS() { string ret = Utils.DecodeStringUTF8(ImGuiNative.c_str(Handle)); return ret; } public unsafe void clear() { ImGuiNative.clear(Handle); } public unsafe void Destroy() { ImGuiNative.Destroy(Handle); } public unsafe bool empty() { byte ret = ImGuiNative.empty(Handle); return ret != 0; } public unsafe byte* end() { byte* ret = ImGuiNative.end(Handle); return ret; } public unsafe string endS() { string ret = Utils.DecodeStringUTF8(ImGuiNative.end(Handle)); return ret; } public unsafe void reserve(int capacity) { ImGuiNative.reserve(Handle, capacity); } public unsafe int size() { int ret = ImGuiNative.size(Handle); return ret; } } // DISCARDED: append // DISCARDED: appendf // DISCARDED: appendfv