I am using the thrift ruby gem and am doing the following

serializer = Thrift::Serializer.new()

                binary_string=serializer.serialize(my_thrift_obj)

and I am storing this binary_string in a file, but I noticed there is no
compression at all. Is there any way I can compress my_thrift_obj while
serializing?

Also, is there a way to serialize arbitrary ruby hashes to thrift objects?

Reply via email to