_binary.pyc
1 o 2 Y��ca � @ s� d Z ddlmZmZ dd� Zdd� Zddd�Zdd d 3 �Zddd�Zdd d�Z ddd�Z 4 ddd�Zddd�Zdd� Z dd� Zdd� Zdd� ZdS )z%Binary input/output support routines.� )�pack�unpack_fromc C s | j tu r| S | d S )Nr )� __class__�int)�c� r ��C:\Users\Jacks.GUTTSPC\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PIL\_binary.py�i8 s r c C s t | d@ f�S )N�� )�bytes��ir r r �o8 s r c C � t d| |�d S )z� 5 Converts a 2-bytes (16 bits) string to an unsigned integer. 6 7 :param c: string containing bytes to convert 8 :param o: offset of bytes to convert in string 9 �<Hr �r �r �or r r �i16le � r c C r )z� 10 Converts a 2-bytes (16 bits) string to a signed integer. 11 12 :param c: string containing bytes to convert 13 :param o: offset of bytes to convert in string 14 z<hr r r r r r �si16le( r r c C r )z� 15 Converts a 2-bytes (16 bits) string to a signed integer, big endian. 16 17 :param c: string containing bytes to convert 18 :param o: offset of bytes to convert in string 19 z>hr r r r r r �si16be2 r r c C r )z� 20 Converts a 4-bytes (32 bits) string to an unsigned integer. 21 22 :param c: string containing bytes to convert 23 :param o: offset of bytes to convert in string 24 �<Ir r r r r r �i32le<