msgpack-haxe

MessagePack (http://msgpack.org) for HaXe
http://github.com/aaulia/msgpack-haxe

To install, run:

haxelib install msgpack-haxe 1.15.1 

See using Haxelib in Haxelib documentation for more information.

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);
}

}

Contributors
mcheshkov
aaulia
Type1J
Version
1.15.1
Published
2 years ago
License
MIT

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github