-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
read_all
attribute
#230
Comments
You don't need bytes_read
Edit: actually that doesn't work because it tries to read beyond the last byte and throws an error. Instead you need |
It seems like |
The new implementation based on reader no longer supports I think adding a |
Hey @duskmoon314, does #387 solve your use case? |
Currently there are the
count
,bytes_read
,bits_read
anduntil
attributes you can apply to aVec
to tell deku how much to read.A
read_all
(name undecided) attribute that tells deku to parse till the end of the input would be very handy and could be used to avoid some ugly math in thebytes_read
attribute.The text was updated successfully, but these errors were encountered: