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

bit pos not reset when contents reset. #266

Open
scott-griffiths opened this issue Jun 13, 2023 · 0 comments
Open

bit pos not reset when contents reset. #266

scott-griffiths opened this issue Jun 13, 2023 · 0 comments

Comments

@scott-griffiths
Copy link
Owner

For example

>>> a
BitStream('0x0120310230123', pos=23)
>>> a.u8=4
>>> a
BitStream('0x04', pos=23)

If we reset the value via a property setter we should change the pos back to 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant