U
    e                     @  s  d Z ddlmZ ddlmZmZ dddddZddd	d
dZd$ddddddZd%ddddddZ	d&ddddddZ
d'ddddddZd(ddddddZd)ddddddZd*ddddddZddd	ddZddd	ddZddd	dd Zddd	d!d"Zd#S )+z%Binary input/output support routines.    )annotations)packunpack_frombytesint)creturnc                 C  s   | d S )Nr    )r   r	   r	   M/var/www/html/StaffProfile/newvenv/lib/python3.8/site-packages/PIL/_binary.pyi8   s    r   )ir   c                 C  s   t | d@ fS )N   )r   r   r	   r	   r
   o8   s    r   )r   or   c                 C  s   t d| |d S )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   r   r	   r	   r
   i16le   s    r   c                 C  s   t d| |d S )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<hr   r   r   r	   r	   r
   si16le(   s    r   c                 C  s   t d| |d S )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>hr   r   r   r	   r	   r
   si16be2   s    r   c                 C  s   t d| |d S )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
    <Ir   r   r   r	   r	   r
   i32le<   s    r   c                 C  s   t d| |d S )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<ir   r   r   r	   r	   r
   si32leF   s    r   c                 C  s   t d| |d S )N>Hr   r   r   r	   r	   r
   i16beP   s    r   c                 C  s   t d| |d S )N>Ir   r   r   r	   r	   r
   i32beT   s    r   c                 C  s
   t d| S )Nr   r   r   r	   r	   r
   o16leY   s    r   c                 C  s
   t d| S )Nr   r   r   r	   r	   r
   o32le]   s    r    c                 C  s
   t d| S )Nr   r   r   r	   r	   r
   o16bea   s    r!   c                 C  s
   t d| S )Nr   r   r   r	   r	   r
   o32bee   s    r"   N)r   )r   )r   )r   )r   )r   )r   )__doc__
__future__r   structr   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r	   r	   r	   r
   <module>   s   




