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

Handling strings in datadef.py #14

Open
LionheartUK opened this issue Jan 2, 2024 · 0 comments
Open

Handling strings in datadef.py #14

LionheartUK opened this issue Jan 2, 2024 · 0 comments

Comments

@LionheartUK
Copy link

in datadef.py on line 109, a little more effiecent and error free way of handling the result string would be

val = ptr[:256].decode('ascii', errors='replace').split("\x00")[0]

Thank you so much for getting Strngs to work though - great stuff!

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

1 participant