mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
ruby: update rdoc
This commit is contained in:
parent
d0af8aa9f1
commit
dbebe9771b
3 changed files with 12 additions and 8 deletions
|
|
@ -27,10 +27,18 @@ static VALUE mMessagePack;
|
|||
* It enables to exchange structured objects between many languages like JSON.
|
||||
* But unlike JSON, it is very fast and small.
|
||||
*
|
||||
* You can install MessagePack with rubygems.
|
||||
*
|
||||
* gem install msgpack
|
||||
*
|
||||
* Simple usage is as follows.
|
||||
*
|
||||
* require 'msgpack'
|
||||
* msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03"
|
||||
* MessagePack.unpack(msg) #=> [1,2,3]
|
||||
*
|
||||
* Use Unpacker class for streaming deserialization.
|
||||
*
|
||||
*/
|
||||
void Init_msgpack(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue