ffi-msgpack:Ruby FFI绑定到msgpack

时间:2021-05-08 10:45:19
【文件属性】:
文件名称:ffi-msgpack:Ruby FFI绑定到msgpack
文件大小:27KB
文件格式:ZIP
更新时间:2021-05-08 10:45:19
Ruby ffi-msgpack [电子邮件](gmail.com上的mailto:postmodern.mod3) 描述 库的Ruby FFI绑定。 特征 可以打包和解压缩nil , true , false ,Integers,Floats,Strings,Arrays和Hashes。 提供缓冲/回调驱动的打包程序。 提供一个缓冲/流解包器。 例子 打包对象: require 'ffi/msgpack' FFI::MsgPack.pack([1,'x',true]) # => "\x93\x01\xA1x\xC3" 将一个或多个对象打包到缓冲区中: packer = FFI::MsgPack::Packer.create packer << 1 xss=removed> "\x01\xA1x\xC3" packer.t
【文件预览】:
ffi-msgpack-master
----gemspec.yml(365B)
----.github()
--------workflows()
----ffi-msgpack.gemspec(2KB)
----LICENSE.txt(1KB)
----lib()
--------ffi()
----.gemtest(0B)
----Gemfile(187B)
----spec()
--------packer_spec.rb(1KB)
--------extensions()
--------spec_helper.rb(43B)
--------msg_object_spec.rb(5KB)
--------unpacker_spec.rb(1KB)
----Rakefile(206B)
----README.md(2KB)
----ChangeLog.md(2KB)
----.rspec(32B)
----.yardopts(99B)
----.gitignore(41B)

网友评论