Are there any Java Frameworks for binary file parsing?

后端 未结 8 1350
情话喂你
情话喂你 2020-12-08 05:19

My problem is, that I want to parse binary files of different types with a generic parser which is implemented in JAVA. Maybe describing the file format with a configuration

8条回答
  •  一向
    一向 (楼主)
    2020-12-08 05:59

    You can parse binary files with parsers like JavaCC. Here you can find a simple example. Probably it's a bit more difficult than parsing text files.

提交回复
热议问题