msgpack-haxe 1.15.1

MessagePack (http://msgpack.org) for HaXe

Released 2015-10-03.

To install, run:

haxelib install msgpack-haxe 1.15.1

See using Haxelib in Haxelib documentation for more information.

Maintaineraaulia
Websitehttp://github.com/aaulia/msgpack-haxe
Current version1.15.1
StatisticsInstalled 1074 times
LicenseMIT
Tags cross, msgpack, serialization

README.md

MIT License Haxelib Version

msgpack-haxe

MessagePack (http://msgpack.org) serialization library for HaXe

How to install:

Simply use haxelib git to use this github repo or haxelib install msgpack-haxe to use the one in the haxelib repository.

Supported Type:

  • Null
  • Bool
  • Int
  • Float
  • Object
  • Bytes
  • String
  • Array
  • IntMap/StringMap

Example code:

` haxe package; import org.msgpack.MsgPack;

class Example {

public static function main() {
    var i = { a: 1, b: 2, c: "Hello World!" };
    var m = MsgPack.encode(i);
    var o = MsgPack.decode(m);

    trace(i);
    trace(m.toHex());
    trace(o);
}

}