def __str__ (self):
        """Returns this PCapPacketHeader as a binary string."""
        return struct.pack( self._format ,
                            self.ts_sec  ,
                            self.ts_usec ,
                            self.incl_len,
                            self.orig_len )
def __str__ ( self ) : return struct . pack ( self . _format , self . ts_sec , self . ts_usec , self . incl_len , self . orig_len )
Returns this PCapPacketHeader as a binary string.