kaitai-io / kaitai_struct

Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
https://kaitai.io
4.04k stars 199 forks source link

Question: Repeating a part with a specific field without knowing the length #993

Open irvinclenet opened 2 years ago

irvinclenet commented 2 years ago

Hello, here is my problem:

I have a frame with different parts that are not the same length but start with the same field: "start0". Moreover, the total length of the frame is not given.

I would like to know if it is possible to do this until the end of the frame.