Skip to content

Investigate Python buffer interface #20

@segevfiner

Description

@segevfiner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions