Module: ThriftClient::Simple::ThriftStruct::Include

Defined in:
lib/thrift_client/simple.rb

Instance Method Summary collapse

Instance Method Details

#_packObject



204
205
206
# File 'lib/thrift_client/simple.rb', line 204

def _pack
  self.class._fields.map { |f| f.pack(self[f.name]) }.join + [ STOP ].pack("c")
end