Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

MessagePack is an extremely efficient object serialization library. It's like JSON, but very fast and small.

README
MessagePack
-----------
Binary-based efficient data interchange format.


*Requirements

  MessagePack is only tested on Linux and Mac OS X, but it may run on other
  UNIX-like platforms.

  gcc >= 4.1 is required to build.


*Installation

  Simply run ./configure && make && make install to install C and C++ binding.

    $ ./configure
    $ make
    $ sudo make install

  To install Ruby binding, run ./makegem.sh script on ruby/ directory and install
  generated gem package.

    $ cd ruby
    $ ./makegem.sh
    $ gem install msgpack-*.gem


*Usage

  C++:
    include msgpack.hpp header and link libmsgpack library.
    see example/simple.cc for example.

      g++ simple.cc -lmsgpack
      g++ stream.cc -lmsgpack -lpthread


  C:
    include msgpack.h   header and link libmsgpackc library.
    see example/simple.c  for example.

      gcc simple.c  -lmsgpackc


  Ruby:
    require msgpack library.
    see example/simple.rb for example.

	  ruby -rubygems simple.rb


  API Document is available at http://msgpack.sourceforge.jp/.


Copyright (C) 2008-2010 FURUHASHI Sadayuki

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Something went wrong with that request. Please try again.