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.

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 c
Octocat-spinner-32 cpp
Octocat-spinner-32 example
Octocat-spinner-32 msgpack
Octocat-spinner-32 perl
Octocat-spinner-32 python
Octocat-spinner-32 ruby
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 COPYING
Octocat-spinner-32 ChangeLog
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Makefile.am
Octocat-spinner-32 NEWS
Octocat-spinner-32 NOTICE
Octocat-spinner-32 README
Octocat-spinner-32 bootstrap
Octocat-spinner-32 configure.in
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.

  Following programs are required to build:
    - gcc >= 4.1 with C++ support
    - ruby >= 1.8   (ruby is used as a preprocessor)


*Installation

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

    $ ./configure
    $ make
    $ sudo make install

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

    $ cd ruby
    $ ./gengem.sh
    $ gem install gem/pkg/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-2009 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.