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

Investigate Python buffer interface #20

Open
segevfiner opened this issue Nov 14, 2021 · 0 comments
Open

Investigate Python buffer interface #20

segevfiner opened this issue Nov 14, 2021 · 0 comments

Comments

@segevfiner
Copy link
Owner

Can we use the Python buffer interface for __next__/loop/dispatch to save copying the packet to a bytes? Ownership is troublesome since the data is only valid until the next call to __next__ or returning from the callback. Also we want the returned object to have a nice interface and not be something that will always be immediately casted to bytes to make any use of it.

@segevfiner segevfiner mentioned this issue Nov 14, 2021
5 tasks
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