mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-14 18:10:30 +01:00

git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@83 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
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.0 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 --prefix=path/to/prefix $ make $ make install To install Ruby binding, run ./gengem.sh script in ruby/ directory and install generated gem package. $ cd ruby $ ./gengem.sh $ gem install gem/pkg/msgpack-*.gem *Usage C++: #include <msgpack.hpp> // TODO C: #include <msgpack.h> /* TODO */ Ruby: require 'msgpack' # serialize buf = [1, 2, 3].to_msgpack # deserialize p MessagePack::unpack(buf) # TODO Copyright (C) 2008 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.
Description
Languages
Text
100%