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 support for parsing data from a memory buffer #37

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

glopesdev
Copy link
Contributor

Harp register data is commonly read from a file offline, but can also be batch loaded from in-memory buffers. This PR generalizes the device and register readers to expose a new parse method that works identical to read but receives any buffer-like object following PEP 688.

This extends the library to be able to parse data from almost any source, including live streaming use cases.

@glopesdev glopesdev added the feature New planned feature label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant