o
    Šh²   ã                   @   s&   d dl mZ dd„ Zdefdd„ZdS )é    )ÚBc                 C   s   t | tƒr| S t | ¡d S )Nr   )Ú
isinstanceÚintr   Úunpack)Úb© r   ú\/var/www/html/aiguide_backend/venv/lib/python3.10/site-packages/asyncmy/replication/utils.pyÚbyte2int   s   
r	   Úic                 C   s
   t  | ¡S )N)r   Úpack)r
   r   r   r   Úint2byte   s   
r   N)Úasyncmy.structsr   r	   r   r   r   r   r   r   Ú<module>   s    