CoolFace
Apppublic

Aluode/PerceptionLabPortable

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
_binary.cpython-310.pyc62 linesDownload Raw Back to __pycache__
1o

2��Yif3�@s�dZddlmZddlmZmZd'dd	�Zd(dd�Zd)d*dd�Zd)d*dd�Z	d)d*dd�Z4d)d*dd�Zd)d*dd�Zd)d*dd�Z
d)d*dd�Zd)d*dd�Zd(dd�Zd(d d!�Zd(d"d#�Zd(d$d%�Zd&S)+z%Binary input/output support routines.�)�annotations)�pack�unpack_from�c�bytes�return�intcCs|dS)Nr�)rr	r	�uE:\DocsHouse\542 percep lab latest\PerceptionLab\PerceptionLab_Portable\python_embed\Lib\site-packages\PIL/_binary.py�i8sr�icCst|d@f�S)N��)r�rr	r	r5�o8sr�ocC�td||�dS)z�6    Converts a 2-bytes (16 bits) string to an unsigned integer.7 8    :param c: string containing bytes to convert9    :param o: offset of bytes to convert in string10    �<Hr�r�rrr	r	r11�i16le�rcCr)z�12    Converts a 2-bytes (16 bits) string to a signed integer.13 14    :param c: string containing bytes to convert15    :param o: offset of bytes to convert in string16    z<hrrrr	r	r17�si16le(rrcCr)z�18    Converts a 2-bytes (16 bits) string to a signed integer, big endian.19 20    :param c: string containing bytes to convert21    :param o: offset of bytes to convert in string22    z>hrrrr	r	r23�si16be2rrcCr)z�24    Converts a 4-bytes (32 bits) string to an unsigned integer.25 26    :param c: string containing bytes to convert27    :param o: offset of bytes to convert in string28    �<Irrrr	r	r29�i32le<rrcCr)z�30    Converts a 4-bytes (32 bits) string to a signed integer.31 32    :param c: string containing bytes to convert33    :param o: offset of bytes to convert in string34    z<irrrr	r	r35�si32leFrrcCr)z�36    Converts a 4-bytes (32 bits) string to a signed integer, big endian.37 38    :param c: string containing bytes to convert39    :param o: offset of bytes to convert in string40    z>irrrr	r	r41�si32bePrrcCr)N�>Hrrrr	r	r42�i16beZ�rcCr)N�>Irrrr	r	r43�i32be^rr!cC�44td|�S)Nr�rrr	r	r45�o16lec�46r$cCr")Nrr#rr	r	r47�o32legr%r&cCr")Nrr#rr	r	r48�o16bekr%r'cCr")Nr r#rr	r	r49�o32beor%r(N)rrrr)rrrr)r)rrrrrr)�__doc__�50__future__r�structrrrrrrrrrrrr!r$r&r'r(r	r	r	r51�<module>s"5253545556575859606162
Aluode/PerceptionLabPortable · CoolFace