Skip to content


Subversion checkout URL

You can clone with
Download ZIP
[SDK] MessagePack for android
Latest commit 2fb5ebc @chzyer chzyer Update
Failed to load latest commit information. init init init init Update init update Readme

MessagePack for Android

MessagePack Homepage
test successed with python.


  1. supports int, long, String, Boolean, array, hashtable
  2. able to custom array and hashtable(implements IDictPicker or IListPicker)

How to use

  1. Modify the package name(default: org.chenye.andfree.msgpack)
  2. Implements data structures(list, dict)
  3. Configure MsgPackUnpack
        class Line implements IDictPicker, IListPicker{


        MsgPackUnpack.setGetDict(new IGetDictPicker() {

            public IDictPicker ret() {
                // TODO Auto-generated method stub
                return new Line();
        MsgPackUnpack.setGetList(new IGetListPicker() {

            public IListPicker ret() {
                // TODO Auto-generated method stub
                return new Line();
  1. pack or unpack
          ByteBuffer bb = MsgPack.pack(Object obj);
          Object obj = MsgPack.unpack(byte[] bytes);
Something went wrong with that request. Please try again.