MessagePack is an extremely efficient object serialization library. It's like JSON, but very fast and small.
Fetching latest commit…
Cannot retrieve the latest commit at this time
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 is 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.