%PDF- %PDF-
Direktori : /usr/share/hplip/base/__pycache__/ |
Current File : //usr/share/hplip/base/__pycache__/mdns.cpython-312.pyc |
� = f1( � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZddl� ddlm Z ddl mZmZm Z mZ dZdZdZdZd Zd ZdZd� Zd� Zd � Zd� Zd� Zd� Zdd�Zd� Zdd�Zy)� N� )�*)�utils)�BytesIO� to_bytes_utf8�to_bytes_latin�to_string_latin� � �! � � c � � | |z || | |z fS �N� ��offset�data�ls �/usr/share/hplip/base/mdns.py� read_utf8r 1 � � ��!�8�T�&����*�*�*� c � � | |z || | |z fS r r r s r � read_datar 4 r r c � � t j |� }| |z t j |t || | |z � � fS r )�struct�calcsize�unpackr )r r �fmtr s r �read_data_unpackr! 7 s: � ������A��!�8�V�]�]�3��t�F�6�!�8�7L�(M�N�N�Nr c � � d}| }d}|} t |||dz � }|dz }|dk( rn�|dz }|dk( r%t |||� \ }}dj ||dg� }nc|dk( rE|dk r|dz }|dz dz t |||dz � z }||k\ rt j d |z � n|}nt j d |z � n��|dk\ r|} | |fS |} | |fS )N� ���r r � �.�? � z$Bad domain name (circular) at 0x%04xzBad domain name at 0x%04x)�ordr �join�log�error) r r �result�off�next�firstr �t�utf8s r � read_namer3 ; s � � �F� �C� �D��E� ���S��Q��� ���q�����6�� ��H����9�!�#�t�Q�/�I�C���W�W�f�d�C�0�1�F� �$�Y��a�x��Q�w����H��?�c�$�s�3�q�5�/�&:�:�C��e�|�� � �@�3�F�G���E� �I�I�1�C�7�8��7 �: �q�y��� �6�>�� ���6�>�r c �� � |j d� D ]R }|j d� }| j t j dt |� � � | j |� �T y )Nr&