zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
U
T±daã@sŽdZddlmZmZdd„Zdd„Zddd„Zdd    d
„Zd d d „Zd!d d„Z    d"dd„Z
d#dd„Z d$dd„Z dd„Z dd„Zdd„Zdd„ZdS)%z%Binary input/output support routines.é)ÚpackÚ unpack_fromcCs|jtkr|S|dS)Nr)Ú    __class__Úint)Úc©rúBd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\PIL/_binary.pyÚi8sr    cCst|d@fƒS)Néÿ)Úbytes©ÚirrrÚo8srcCstd||ƒdS)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ÚorrrÚi16lesrcCstd||ƒdS)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<hrrrrrrÚsi16le(srcCstd||ƒdS)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>hrrrrrrÚsi16be2srcCstd||ƒdS)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
    ú<IrrrrrrÚi32le<srcCstd||ƒdS)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<irrrrrrÚsi32leFsrcCstd||ƒdS)Nú>HrrrrrrÚi16bePsrcCstd||ƒdS)Nú>IrrrrrrÚi32beTsrcCs
td|ƒS)Nr©rr rrrÚo16leYsrcCs
td|ƒS)Nrrr rrrÚo32le]srcCs
td|ƒS)Nrrr rrrÚo16beasr cCs
td|ƒS)Nrrr rrrÚo32beesr!N)r)r)r)r)r)r)r)Ú__doc__Ústructrrr    rrrrrrrrrrr r!rrrrÚ<module>s