Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ReadOnlySpan<byte> overloads for string parameters #471

Open
CasualPokePlayer opened this issue Mar 30, 2024 · 1 comment
Open

Add ReadOnlySpan<byte> overloads for string parameters #471

CasualPokePlayer opened this issue Mar 30, 2024 · 1 comment

Comments

@CasualPokePlayer
Copy link

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)

@zaafar
Copy link
Collaborator

zaafar commented Mar 31, 2024

i know, i want to end 2.0 support #457 and then do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants