Emmanuel Thompson

Results 134 comments of Emmanuel Thompson

Ah interesting use case! Thanks for explaining furthur. I created a branch with some changes to be able to use `temp` attribute with a custom `writer` You can try it...

> Wow, thanks for the amazing job! It works just like how I imagined. > > By the way, is it possible to make context parameter `temp`able too? If so,...

Would this be a minimal reproduction? ```rust use deku::prelude::*; use std::convert::TryInto; #[deku_derive(DekuRead, DekuWrite)] #[derive(Debug, PartialEq)] #[deku(ctx = "field1: u8, field2: u8")] struct Child { } #[deku_derive(DekuRead, DekuWrite)] #[derive(Debug, PartialEq)] struct...

Can you provide a failing example?

Sorry @LeonardMH there hasn't been any progress on this. My current recommendation is to massage your LSB data into MSB, if possible, before feeding it to deku. However this may...

To help debug, there's a `logging` feature, initialize logging and compile with the logging feature, here's example output from your example. ```rust env_logger::init(); ``` ``` $ RUST_LOG=trace cargo run --example...

I'm a bit confused by your test case, for example the first 10 bits `[0, 0, 0, 0, 0, 0, 0, 1, 1, 1]`, no matter how you read it,...

I'm not sure I fully understand the question and expected behavior. Can you provide a minimal running example w/ comments which would hilight the issue?

> I've got a need to specify the endianness of a discriminator, without having that propagate to substructures You've peaked my interest, is this a public data-format? Sounds funky.

@wcampbell0x2a ack. I may not get to review it until the new year