
    h	                        S r SSKJr  SSKJrJr  SS jrSS jrSSS jjrSSS jjr	SSS jjr
SSS	 jjrSSS
 jjrSSS jjrSSS jjrSSS jjrSS jrSS jrSS jrSS jrg)z%Binary input/output support routines.    )annotations)packunpack_fromc                    U S   $ )Nr    )cs    =/var/www/html/env/lib/python3.13/site-packages/PIL/_binary.pyi8r
      s    Q4K    c                     [        U S-  45      $ )N   )bytesis    r	   o8r      s    !c'r   c                     [        SX5      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   os     r	   i16ler           tQ"1%%r   c                     [        SX5      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   s     r	   si16ler   (   r   r   c                     [        SX5      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   s     r	   si16ber   2   r   r   c                     [        SX5      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   s     r	   i32ler   <   r   r   c                     [        SX5      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   s     r	   si32ler!   F   r   r   c                     [        SX5      S   $ )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>ir   r   r   s     r	   si32ber#   P   r   r   c                     [        SX5      S   $ )N>Hr   r   r   s     r	   i16ber&   Z       tQ"1%%r   c                     [        SX5      S   $ )N>Ir   r   r   s     r	   i32ber*   ^   r'   r   c                    [        SU 5      $ )Nr   r   r   s    r	   o16ler-   c       a=r   c                    [        SU 5      $ )Nr   r,   r   s    r	   o32ler0   g   r.   r   c                    [        SU 5      $ )Nr%   r,   r   s    r	   o16ber2   k   r.   r   c                    [        SU 5      $ )Nr)   r,   r   s    r	   o32ber4   o   r.   r   N)r   r   returnint)r   r6   r5   r   )r   )r   r   r   r6   r5   r6   )__doc__
__future__r   structr   r   r
   r   r   r   r   r   r!   r#   r&   r*   r-   r0   r2   r4   r   r   r	   <module>r:      sV    , " $
&&&&&&&&
r   