Repository navigation
Conversation
|
Thanks for the PR! I noticed that part of this change overlaps with #1093, which was recently merged. In #1093, I fixed the BDC padding issue by advancing However this PR addresses an additional issue: calling My main concern is about consistency in the parser design. Currently,
This PR changes Wouldn't it be simpler to keep the existing approach and make Since both header parsers are cached, this would:
I think calculating absolute offsets is also a valid approach, especially if we eventually want to make So I don't consider this PR entirely redundant, but I think the additional issue it addresses could be fixed with a much smaller change while preserving the existing architecture. So sequence parsing approach fix would look like this: What do you think? |
Motivation
Payload access depends on the reader’s current position, so reading control data before its header returns incorrect bytes.
Description of changes