def m2i(self, pkt, x):
        # type: (Optional[packet.Packet], int) -> int
        """
        @param packet.Packet|None pkt: the packet instance containing this field instance; probably unused  # noqa: E501
        @param int x: must be the machine representatino of the default value
        @return int; default value
        @raise AssertionError
        """
        r = super(HPackMagicBitField, self).m2i(pkt, x)
        assert r == self._magic, 'Invalid value parsed from m2i; error in class guessing detected!'  # noqa: E501
        return r
def m2i ( self , pkt , x ) : r = super ( HPackMagicBitField , self ) . m2i ( pkt , x ) assert r == self . _magic , 'Invalid value parsed from m2i; error in class guessing detected!' return r
@param packet.Packet|None pkt: the packet instance containing this field instance; probably unused  # noqa: E501
        @param int x: must be the machine representatino of the default value
        @return int; default value
        @raise AssertionError