Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
iaC ã @ s d dl Z G dd„ dƒZdS )é Nc @ sP e Zd ZdZdd„ Zdd„ Zejfdd„Zdd „ Z ddd„Z
d
d„ Zdd„ ZdS )ÚContainerIOzm
A file object that provides read access to a part of an existing
file (for example a TAR file).
c C s( || _ d| _|| _|| _| j j|ƒ dS )z
Create file object.
:param file: Existing file.
:param offset: Start of region, in bytes.
:param length: Size of region, in bytes.
r N)ÚfhÚposÚoffsetÚlengthÚseek)ÚselfÚfiler r © r
ú0/tmp/tmp5hum_rxs/lib64/python/PIL/ContainerIO.pyÚ__init__ s
zContainerIO.__init__c C s dS )NFr
)r r
r
r Úisatty, s zContainerIO.isattyc C s` |dkr| j | | _ n|dkr,| j| | _ n|| _ tdt| j | jƒƒ| _ | jj| j| j ƒ 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.
é é r N)r r ÚmaxÚminr r r )r r Úmoder
r
r r / s zContainerIO.seekc C s | j S )ze
Get current file pointer.
:returns: Offset from start of region, in bytes.
)r )r r
r
r ÚtellB s zContainerIO.tellr c C sT |rt || j| j ƒ}n| j| j }|s