%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/PIL/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/PIL/__pycache__/_binary.cpython-312.pyc

�

��e����dZddlmZddlmZmZdd�Zdd�Zddd�Zddd�Z	ddd�Z
ddd	�Zddd
�Zddd�Z
ddd�Zdd
�Zdd�Zdd�Zdd�Zy)z%Binary input/output support routines.�)�annotations)�pack�unpack_fromc��|dS)Nr�)�cs �-/usr/lib/python3/dist-packages/PIL/_binary.py�i8r
s���Q�4�K�c� �t|dzf�S)N�)�bytes��is r	�o8rs���!�c�'���rc�"�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�r�os  r	�i16ler����t�Q��"�1�%�%rc�"�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�"�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�"�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�"�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�"�td||�dS)N�>Hrrrs  r	�i16ber$P����t�Q��"�1�%�%rc�"�td||�dS)N�>Irrrs  r	�i32ber(Tr%rc��td|�S)Nr�rrs r	�o16ler+Y�����a�=�rc��td|�S)Nrr*rs r	�o32ler.]r,rc��td|�S)Nr#r*rs r	�o16ber0ar,rc��td|�S)Nr'r*rs r	�o32ber2er,rN)rr�return�int)rr4r3r)r)rrrr4r3r4)�__doc__�
__future__r�structrrr
rrrrrr!r$r(r+r.r0r2rrr	�<module>r8sQ��,�"�$���
&�&�&�&�&�&�&�
���r

Zerion Mini Shell 1.0