namespace Dalamud.Bindings.ImGui; public unsafe partial struct ImGuiPayload { public readonly Span DataSpan => new(this.Data, this.DataSize); public readonly bool IsDataType(ImU8String type) { fixed (ImGuiPayload* ptr = &this) return ImGui.IsDataType(ptr, type); } } public partial struct ImGuiPayloadPtr { public readonly bool IsDataType(ImU8String type) => ImGui.IsDataType(this, type); }