ImGui.NET icon indicating copy to clipboard operation
ImGui.NET copied to clipboard

Add ReadOnlySpan<byte> overloads for string parameters

Open CasualPokePlayer opened this issue 3 months ago • 1 comments

Would allow for taking advantage of C#11 UTF-8 string literals, which can be simply pinned and passed over to ImGui directly (without incurring any memory allocations / no UTF-8 conversions at runtime)

CasualPokePlayer avatar Mar 30 '24 19:03 CasualPokePlayer