Re:Kaitai Struct: A new way to develop parsers for binary st...
by eproxus on Friday March 18, 2022 @08:04AM
(#30721106)
You also have Erlang’s pattern matching at your disposal:
Anything after the when keyword is a guard condition allowing for some manner of positive/negative “look ahead” (Contrived example, but maybe you get the point).
[ Parent
| on HN ]