Sha256: 71849f8cba1170361299aaaa855b6b3ec5bd7fc64832393a2ef937f7a5e42d05

Contents?: true

Size: 857 Bytes

Versions: 1

Compression:

Stored size: 857 Bytes

Contents

= MessagePack

MessagePack is an efficient binary serialization format.
It lets you exchange data among multiple languages like JSON but it's faster and smaller.
For example, small integers (like flags or error code) are encoded into a single byte,
and typical short strings only require an extra byte in addition to the strings themselves.

If you ever wished to use JSON for convenience (storing an image with metadata) but could
not for technical reasons (encoding, size, speed...), MessagePack is a perfect replacement.

    require 'msgpack'
    msg = [1,2,3].to_msgpack  #=> "\x93\x01\x02\x03"
    MessagePack.unpack(msg)   #=> [1,2,3]

Use RubyGems to install:

    gem install msgpack


== Copyright

Author::    FURUHASHI Sadayuki <frsyuki@gmail.com>
Copyright:: Copyright (c) 2008-2012 FURUHASHI Sadayuki
License::   Apache License, Version 2.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
packsnap-0.0.1 README.rdoc