Your IP : 18.224.44.207
a
R�f; � @ s G d d� d�Z dS )c @ sZ e Zd Zddd�Zdd� Zdd� Zd d
� Zdd� Zddd�Zdd� Z ddd�Z
dd� ZdS )�ChunkTFc C s� dd l }d| _|| _|rd}nd}|| _|�d�| _t| j�dk rFt�z |�|d |�d��d | _ W n |j
y� td �Y n0 |r�| j d | _ d| _z| j�� | _
W n ttfy� d| _Y n0 d| _d S ) N� F�>�<� �L� T)�struct�closed�align�file�read� chunkname�len�EOFErrorZunpack_from� chunksize�error� size_read�tell�offset�AttributeError�OSError�seekable)�selfr r
Z bigendianZ
inclheaderr Zstrflag� r �*/opt/alt/python39/lib64/python3.9/chunk.py�__init__4 s, zChunk.__init__c C s | j S �N)r
�r r r r �getnameN s z
Chunk.getnamec C s | j S r )r r r r r �getsizeR s z
Chunk.getsizec C s&