Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
memcached に 32 ビット整数としていくつかの数値を格納する .NET クライアントがあります。
その数値を Ruby クライアントで使用することも、.NET で使用できる数値を保存することもできません。
チェックアウトArray#packとString#unpack方法:
Array#pack
String#unpack
> [42].pack('l') # => "*\x00\x00\x00"
これはあなたを助けることができるかもしれません
http://bindata.rubyforge.org/
必要なデータを好きな方法で保存できます。