Sha256: de0bf25c6c360eb84ab38178a2e86156e56ef4cb3fc27a9caea2e1ff76c2cf00
Contents?: true
Size: 871 Bytes
Versions: 5
Compression:
Stored size: 871 Bytes
Contents
class PacketViaDMEM class Header class Received attr_accessor :msg_type, :table, :stream, :offset, :size, :port, :type, :magic1, :magic2, :magic3 # this is sent only AFAIK, but guarded here just in case def to_s(packet_number=1) str = '' str << '# RX %03d # ' % packet_number str << 'bytes: %d # ' % size if msg_type > 0 str << 'stream: %d # ' % stream str << 'port: %x (%s) # ' % [port, port.divmod(64).join('/')] str << "type: %x\n" % type str << '# ' str << 'table: %d # ' % table str << 'offset: %d # ' % offset str << 'magic: %x/%x' % [magic1, magic2] if magic1 str end end end end
Version data entries
5 entries across 5 versions & 1 rubygems