-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
Hi,
I would like to parse a binary stream of complex, nested structures, like it is done e.g. in PNGParsingTest, where the class Png has a non-primitive member of type Chunk.
In the test file, the description of the binary format (the arguement to prepare) is given as a complete, nested structure, together with the two class declarations in the same file.
I would prefer to keep the declaration of the two classes separate together with their binary description, and only make a reference to the Chunk type in the DSL for the Png class and have JBBP resolve the reference. Is that possible with the current state of JBBP?
Also, is there any way to automatically inherit from a binary parser description to reuse it for an inherited mapped class?
Metadata
Metadata
Assignees
Labels
No labels