HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/PIL/__pycache__/_binary.cpython-38.pyc
U

g�
^��@s�ddlmZmZdd�Zdd�Zddd�Zddd	�Zdd
d�Zddd
�Zddd�Z	d dd�Z
dd�Zdd�Zdd�Z
dd�ZdS)!�)�pack�unpack_fromcCs|jtkr|S|dS)Nr)�	__class__�int)�c�r�-/usr/lib/python3/dist-packages/PIL/_binary.py�i8sr	cCst|d@f�S)N�)�bytes��irrr�o8srcCstd||�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�orrr�i16lesrcCstd||�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<hrrrrrr�si16le$srcCstd||�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
    �<Irrrrrr�i32le.srcCstd||�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<irrrrrr�si32le8srcCstd||�dS)N�>Hrrrrrr�i16beBsrcCstd||�dS)N�>Irrrrrr�i32beFsrcCs
td|�S)Nr�rrrrr�o16leKsrcCs
td|�S)Nrrrrrr�o32leOsrcCs
td|�S)Nrrrrrr�o16beSsrcCs
td|�S)Nrrrrrr�o32beWsr N)r)r)r)r)r)r)Zstructrrr	rrrrrrrrrrr rrrr�<module>s