Server IP : 184.154.167.98 / Your IP : 3.15.15.31 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.8/__pycache__/ |
Upload File : |
U e5d; � @ 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 k r� td �Y nX |r�| j d | _ d| _z| j�� | _ W n ttfk r� d| _Y nX 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 �/usr/lib64/python3.8/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 | j sz| �� W 5 d| _ X d S )NT)r �skipr r r r �closeV s zChunk.closec C s | j rtd��dS )N�I/O operation on closed fileF)r � ValueErrorr r r r �isatty] s zChunk.isattyr c C sv | j rtd��| jstd��|dkr0|| j }n|dkrB|| j }|dk sT|| jkrXt�| j�| j | d� || _d S )Nr"