Skip to content

Conversation

@edusperoni
Copy link
Collaborator

adds a new interop function function interop.stringFromCstring(ptr: interop.Pointer | interop.Reference, length?: number): string which allows you to easily convert a char* into a JS string (around 10x faster than doing NSString.stringWithUTF8String().toString())

@cla-bot cla-bot bot added the cla: yes label Sep 1, 2023
@NathanWalker NathanWalker merged commit 185c12d into main Oct 6, 2023
@NathanWalker NathanWalker deleted the feat/interop-string-from-cstring branch October 6, 2023 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants