Skip to content

Commit 919aea0

Browse files
committed
[C++] Fix issues with length computation.
I had incorrectly assumed that the `Flyweight::computeLength` method took _encoded lengths_ of groups etc., but actually it takes a complicated structure of group counts and variable lengths. As it was hard to build this list, I've opted for a simpler approach: do the length calculation within the generated DTO message and its groups. In this commit, I've also added some convenience methods for converting between DTOs and "byte arrays".
1 parent 08d4612 commit 919aea0

File tree

2 files changed

+186
-99
lines changed

2 files changed

+186
-99
lines changed

0 commit comments

Comments
 (0)