module ThriftClient::Simple::ThriftStruct::Include

Public Instance Methods

_pack() click to toggle source
# 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