def _read_addr_resolve(self, length, htype):
if htype == <NUM_LIT:1>:  <EOL><INDENT>_byte = self._read_fileng(<NUM_LIT:6>)<EOL>_addr = '<STR_LIT:->'.join(textwrap.wrap(_byte.hex(), <NUM_LIT:2>))<EOL><DEDENT>else:<EOL><INDENT>_addr = self._read_fileng(length)<EOL><DEDENT>return _addr<EOL>
Resolve MAC address according to protocol.

        Positional arguments:
            * length -- int, hardware address length
            * htype -- int, hardware type

        Returns:
            * str -- MAC address