msgpack/ruby/README
2010-05-26 07:43:05 +09:00

38 lines
714 B
Plaintext

= MessagePack
== Description
MessagePack is a binary-based efficient object serialization library.
It enables to exchange structured objects between many languages like JSON.
But unlike JSON, it is very fast and small.
Simple usage is as follows:
require 'msgpack'
msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03"
MessagePack.unpack(msg) #=> [1,2,3]
Use MessagePack::Unpacker for streaming deserialization.
== Installation
=== Archive Installation
ruby extconf.rb
make
make install
=== Gem Installation
gem install msgpack
== Copyright
Author:: frsyuki <frsyuki@users.sourceforge.jp>
Copyright:: Copyright (c) 2008-2010 FURUHASHI Sadayuki
License:: Apache License, Version 2.0