韌館-LearnHouse

Archive for 20 1 月, 2018

[轉]Parsing a C/C++ struct in Java

這是一篇備份的文章,預防之後消失,來源是
http://jnkjava.blogspot.tw/2013/06/parsing-cc-struct-in-java.html

Assume you are a "lucky" guy that your Java application interfaces with a C/C++ application (e.g. a kind of server) which sends you some kind of TCP/UDP network messages you need to parse. An example such C/C++ structure is shown below:

Read more...

2018年1 月 posted by admin in 程式&軟體 and have No Comments