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

Vec type read/write #10

Closed
sharksforarms opened this issue May 14, 2020 · 0 comments
Closed

Vec type read/write #10

sharksforarms opened this issue May 14, 2020 · 0 comments

Comments

@sharksforarms
Copy link
Owner

sharksforarms commented May 14, 2020

pub struct MyStruct {
  ext_len: usize,
  #[deku(len_field= "ext_len")]
  extensions: Vec<Extension>,
}

Allow something like this and update the ext_len before dumping bits to acc

sharksforarms pushed a commit that referenced this issue Jul 13, 2020
wcampbell0x2a pushed a commit to wcampbell0x2a/deku that referenced this issue Jun 20, 2022
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