开发者

Lightweight binary serialization/deserialization frameworks in Android?

I have searched the web for quit a while for a binary serialization/deserialization framework that I can use in Android.

Protobuf looks good but it is too heavy, protoc generates about 17 kilobytes for each message.

MsgPack's better at that since it doesn't require you to do any definitions and thus doesn't generate a lot of c开发者_运维知识库ode for you to use its serialization/deserialization functionalities, and it's fast, the bad thing is that it depends on some classes that exist only on J2SE and some other open sources projects(I don't really like to get involved too much code that are not directly needed in my small Android project.)

My question is: is there a fast and small binary serialization/deserialization framework that I can use in Android?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜