� B�g� ���dZddlmZddlmZmZdd�Zdd �Zddd �Zddd �Z ddd�Z ddd�Z ddd�Z ddd�Z ddd�Zddd�Zdd�Zdd�Zdd�Zdd�ZdS)z%Binary input/output support routines.�)� annotations)�pack� unpack_from�c�bytes�return�intc��|dS)Nr�)rs �[/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/PIL/_binary.py�i8r s �� �Q�4�K��ic�(�t|dzf��S)N��)r�rs r �o8rs�� �!�c�'�� � �r�oc�0�td||��dS)z� Converts a 2-bytes (16 bits) string to an unsigned integer. :param c: string containing bytes to convert :param o: offset of bytes to convert in string �<Hr�r�rrs r �i16ler��� �t�Q�� "� "�1� %�%rc�0�td||��dS)z� Converts a 2-bytes (16 bits) string to a signed integer. :param c: string containing bytes to convert :param o: offset of bytes to convert in string z<hrrrs r �si16ler(rrc�0�td||��dS)z� Converts a 2-bytes (16 bits) string to a signed integer, big endian. :param c: string containing bytes to convert :param o: offset of bytes to convert in string z>hrrrs r �si16ber2rrc�0�td||��dS)z� Converts a 4-bytes (32 bits) string to an unsigned integer. :param c: string containing bytes to convert :param o: offset of bytes to convert in string �<Irrrs r �i32ler!<rrc�0�td||��dS)z� Converts a 4-bytes (32 bits) string to a signed integer. :param c: string containing bytes to convert :param o: offset of bytes to convert in string z<irrrs r �si32ler#Frrc�0�td||��dS)z� Converts a 4-bytes (32 bits) string to a signed integer, big endian. :param c: string containing bytes to convert :param o: offset of bytes to convert in string z>irrrs r �si32ber%Prrc�0�td||��dS)N�>Hrrrs r �i16ber(Z��� �t�Q�� "� "�1� %�%rc�0�td||��dS)N�>Irrrs r �i32ber,^r)rc�"�td|��S)Nr�rrs r �o16ler/c��� ��a�=�=�rc�"�td|��S)Nr r.rs r �o32ler2gr0rc�"�td|��S)Nr'r.rs r �o16ber4kr0rc�"�td|��S)Nr+r.rs r �o32ber6or0rN)rrrr )rr rr)r)rrrr rr )�__doc__� __future__r�structrrr rrrrr!r#r%r(r,r/r2r4r6r rr �<module>r:s���,�+�"�"�"�"�"�"�$�$�$�$�$�$�$�$��������� &�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&� �����������������r
Memory