Files
old-parkingkoncept/parkingkonceptvenv/lib/python3.7/site-packages/PIL/__pycache__/ContainerIO.cpython-37.pyc

61 lines
2.5 KiB
Plaintext
Raw Normal View History

2019-11-17 12:44:16 +01:00
B
(U<>]<5D>
<00>@sddlZGdd<03>de<01>ZdS)<04>Nc@sLeZdZdd<02>Zdd<04>Zejfdd<06>Zdd<08>Zdd
d <0B>Z d d <0A>Z
dd<0F>Z dS)<12> ContainerIOcCs(||_d|_||_||_|j<00>|<02>dS)z<>
Create file object.
:param file: Existing file.
:param offset: Start of region, in bytes.
:param length: Size of region, in bytes.
rN)<05>fh<66>pos<6F>offset<65>length<74>seek)<04>self<6C>filerr<00>r
<00>3/tmp/pip-install-pc7tm5jb/Pillow/PIL/ContainerIO.py<70>__init__s
zContainerIO.__init__cCsdS)NFr
)rr
r
r <00>isatty*szContainerIO.isattycCs`|dkr|j||_n|dkr,|j||_n||_tdt|j|j<01><02>|_|j<04>|j|j<00>dS)a
Move file pointer.
:param offset: Offset in bytes.
:param mode: Starting position. Use 0 for beginning of region, 1
for current offset, and 2 for end of region. You cannot move
the pointer outside the defined region.
<20><00>rN)rr<00>max<61>minrrr)rr<00>moder
r
r r-s zContainerIO.seekcCs|jS)ze
Get current file pointer.
:returns: Offset from start of region, in bytes.
)r)rr
r
r <00>tell@szContainerIO.tellrcCsD|rt||j|j<00>}n |j|j}|s,dS|j||_|j<03>|<01>S)z<>
Read data.
:param n: Number of bytes to read. If omitted or zero,
read until end of region.
:returns: An 8-bit string.
<20>)rrrr<00>read)r<00>nr
r
r rHs  zContainerIO.readcCs0d}x&|<00>d<02>}|sP||}|dkrPqW|S)zJ
Read a line of text.
:returns: An 8-bit string.
rr<00>
)r)r<00>s<>cr
r
r <00>readlineYs
zContainerIO.readlinecCs&g}x|<00><00>}|sP|<01>|<02>qW|S)zZ
Read multiple lines of text.
:returns: A list of 8-bit strings.
)r<00>append)r<00>linesrr
r
r <00> readlinesiszContainerIO.readlinesN)r) <0C>__name__<5F>
__module__<EFBFBD> __qualname__r r <00>io<69>SEEK_SETrrrrrr
r
r
r rs
r)r!<00>objectrr
r
r
r <00><module>s