hpimdm/packet/PacketHPIMAck.py
def parse_bytes(cls, data: bytes):
        """
        Parse received Packet from bits/bytes and convert them into ProtocolAck object
        """
        (tree_source, tree_group, neighbor_boot_time, neighbor_snapshot_sn, my_snapshot_sn, sn) =\
            struct.unpack(cls.PIM_HDR_ACK, data[:cls.PIM_HDR_ACK_LEN])
        return cls(tree_source, tree_group, sn, neighbor_boot_time, neighbor_snapshot_sn, my_snapshot_sn)

        Parse received Packet from bits/bytes and convert them into ProtocolAck object
        
Parse received Packet from bits/bytes and convert them into ProtocolAck object
Parse received Packet from bits / bytes and convert them into ProtocolAck object
def parse_bytes(cls, data: bytes):
        (tree_source, tree_group, neighbor_boot_time, neighbor_snapshot_sn, my_snapshot_sn, sn) =\
            struct.unpack(cls.PIM_HDR_ACK, data[:cls.PIM_HDR_ACK_LEN])
        return cls(tree_source, tree_group, sn, neighbor_boot_time, neighbor_snapshot_sn, my_snapshot_sn)
def parse_bytes ( cls , data : bytes ) : ( tree_source , tree_group , neighbor_boot_time , neighbor_snapshot_sn , my_snapshot_sn , sn ) = struct . unpack ( cls . PIM_HDR_ACK , data [ : cls . PIM_HDR_ACK_LEN ] ) return cls ( tree_source , tree_group , sn , neighbor_boot_time , neighbor_snapshot_sn , my_snapshot_sn )
Parse received Packet from bits/bytes and convert them into ProtocolAck object
Parse received Packet from bits / bytes and convert them into ProtocolAck object
"""
        Parse received Packet from bits/bytes and convert them into ProtocolAck object
        """
cls
data
bytes