I just found that fastparse can work in stream mode, it looks much better, and grammar DSL really more readable. Thanks for advice.
Are any binary parsers exist for protocols and data format dissections exists able to analyze bit fields and big/little endianness in file system images and network protocol captures? Offline, not realtime as FP-wrapped Java not so fast as C(++).