ó
O'—^c           @   s¡   d  d l  m Z m Z e e k r7 d „  Z d „  Z n d „  Z d „  Z d d „ Z d d „ Z d d	 „ Z	 d d
 „ Z
 d „  Z d „  Z d „  Z d „  Z d S(   iÿÿÿÿ(   t   unpackt   packc         C   s
   t  |  ƒ S(   N(   t   ord(   t   c(    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   i8   s    c         C   s   t  |  d @ƒ S(   Niÿ   (   t   chr(   t   i(    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   o8   s    c         C   s   |  j  t k r |  S|  d S(   Ni    (   t	   __class__t   int(   R   (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyR      s    c         C   s   t  |  d @f ƒ S(   Niÿ   (   t   bytes(   R   (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyR      s    i    c         C   s   t  d |  | | d !ƒ d S(   s“   
    Converts a 2-bytes (16 bits) string to an integer.

    c: string containing bytes to convert
    o: offset of bytes to convert in string
    s   <Hi   i    (   R    (   R   t   o(    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   i16le    s    c         C   s   t  d |  | | d !ƒ d S(   s“   
    Converts a 4-bytes (32 bits) string to an integer.

    c: string containing bytes to convert
    o: offset of bytes to convert in string
    s   <Ii   i    (   R    (   R   R   (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   i32le*   s    c         C   s   t  d |  | | d !ƒ d S(   Ns   >Hi   i    (   R    (   R   R   (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   i16be4   s    c         C   s   t  d |  | | d !ƒ d S(   Ns   >Ii   i    (   R    (   R   R   (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   i32be8   s    c         C   s   t  d |  ƒ S(   Ns   <H(   R   (   R   (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   o16le=   s    c         C   s   t  d |  ƒ S(   Ns   <I(   R   (   R   (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   o32leA   s    c         C   s   t  d |  ƒ S(   Ns   >H(   R   (   R   (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   o16beE   s    c         C   s   t  d |  ƒ S(   Ns   >I(   R   (   R   (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   o32beI   s    N(   t   structR    R   R
   t   strR   R   R   R   R   R   R   R   R   R   (    (    (    s-   /tmp/pip-unpacked-wheel-ivxKtu/PIL/_binary.pyt   <module>   s   			

			