hpimdm/packet/PacketHPIMSync.py
def parse_bytes(cls, data: bytes):
        """
        Parse received entry of Protocol Sync Packet from binary format
        and convert it into ProtocolSyncEntry object and PacketProtocolSyncEntries
        """
        (source, group, metric_preference, metric) = struct.unpack(cls.PIM_HDR_SYNC_ENTRY,
                                                                   data[:cls.PIM_HDR_SYNC_ENTRY_LEN])
        return cls(source, group, metric_preference, metric)

        Parse received entry of Protocol Sync Packet from binary format
        and convert it into ProtocolSyncEntry object and PacketProtocolSyncEntries
        
Parse received entry of Protocol Sync Packet from binary format
and convert it into ProtocolSyncEntry object and PacketProtocolSyncEntries
Parse received entry of Protocol Sync Packet from binary format and convert it into ProtocolSyncEntry object and PacketProtocolSyncEntries
def parse_bytes(cls, data: bytes):
        (source, group, metric_preference, metric) = struct.unpack(cls.PIM_HDR_SYNC_ENTRY,
                                                                   data[:cls.PIM_HDR_SYNC_ENTRY_LEN])
        return cls(source, group, metric_preference, metric)
def parse_bytes ( cls , data : bytes ) : ( source , group , metric_preference , metric ) = struct . unpack ( cls . PIM_HDR_SYNC_ENTRY , data [ : cls . PIM_HDR_SYNC_ENTRY_LEN ] ) return cls ( source , group , metric_preference , metric )
Parse received entry of Protocol Sync Packet from binary format
and convert it into ProtocolSyncEntry object and PacketProtocolSyncEntries
Parse received entry of Protocol Sync Packet from binary format and convert it into ProtocolSyncEntry object and PacketProtocolSyncEntries
"""
        Parse received entry of Protocol Sync Packet from binary format
        and convert it into ProtocolSyncEntry object and PacketProtocolSyncEntries
        """
cls
data
bytes