hpimdm/packet/PacketHPIMInterest.py
def parse_bytes(cls, data: bytes):
        """
        Parse received Protocol Interest Packet from binary format and convert it into ProtocolInterest object
        """
        (tree_source, tree_group, sn) = struct.unpack(cls.PIM_HDR_INTEREST, data[:cls.PIM_HDR_INTEREST_LEN])
        return cls(tree_source, tree_group, sn)

        Parse received Protocol Interest Packet from binary format and convert it into ProtocolInterest object
        
Parse received Protocol Interest Packet from binary format and convert it into ProtocolInterest object
Parse received Protocol Interest Packet from binary format and convert it into ProtocolInterest object
def parse_bytes(cls, data: bytes):
        (tree_source, tree_group, sn) = struct.unpack(cls.PIM_HDR_INTEREST, data[:cls.PIM_HDR_INTEREST_LEN])
        return cls(tree_source, tree_group, sn)
def parse_bytes ( cls , data : bytes ) : ( tree_source , tree_group , sn ) = struct . unpack ( cls . PIM_HDR_INTEREST , data [ : cls . PIM_HDR_INTEREST_LEN ] ) return cls ( tree_source , tree_group , sn )
Parse received Protocol Interest Packet from binary format and convert it into ProtocolInterest object
Parse received Protocol Interest Packet from binary format and convert it into ProtocolInterest object
"""
        Parse received Protocol Interest Packet from binary format and convert it into ProtocolInterest object
        """
cls
data
bytes