protocols.py
def hdwr_addr_to_array(mac_addr: str):
        """
        Converts a IEEE 802 MAC address to c_ubyte array of 6 bytes.
        """
        mac_to_bytes = b''.join(bytes.fromhex(octet)
                                for octet in re.split('[:-]', mac_addr))
        return (c_ubyte * 6)(*mac_to_bytes)

        Converts a IEEE 802 MAC address to c_ubyte array of 6 bytes.
        
Converts a IEEE 802 MAC address to c_ubyte array of 6 bytes.
Converts a IEEE 802 MAC address to c_ubyte array of 6 bytes .
def hdwr_addr_to_array(mac_addr: str):
        mac_to_bytes = b''.join(bytes.fromhex(octet)
                                for octet in re.split('[:-]', mac_addr))
        return (c_ubyte * 6)(*mac_to_bytes)
def hdwr_addr_to_array ( mac_addr : str ) : mac_to_bytes = b'' . join ( bytes . fromhex ( octet ) for octet in re . split ( '[:-]' , mac_addr ) ) return ( c_ubyte * 6 ) ( * mac_to_bytes )
Converts a IEEE 802 MAC address to c_ubyte array of 6 bytes.
Converts a IEEE 802 MAC address to c_ubyte array of 6 bytes .
"""
        Converts a IEEE 802 MAC address to c_ubyte array of 6 bytes.
        """
mac_addr
str