관리-도구
편집 파일: aifc.cpython-39.opt-2.pyc
a R�f] � @ s^ d dl Z d dlZd dlZddgZG dd� de�ZdZdd� Zdd � Zd d� Z dd � Z dd� ZdZdd� Z dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd dlmZ d d lmZ ed!d"�Zd#ej_d$ej_d%ej_d&ej_d'ej_d(ej_G d)d*� d*�Z G d+d,� d,�Z!d>d-d�Z"e#d.k�rZd dl$Z$e$j%d/d� �s>e$j%�&d0� e$j%d/ Z'e"e'd1���Z(e)d2e'� e)d3e(�*� � e)d4e(�+� � e)d5e(�,� � e)d6e(�-� � e)d7e(�.� � e)d8e(�/� � e$j%d9d� �r:e$j%d9 Z0e)d:e0� e"e0d;��@Z1e1�2e(�3� � e(�4d<�Z5e5�s�qe1�6e5� �q�W d � n1 �s(0 Y e)d=� W d � n1 �sP0 Y dS )?� N�Error�openc @ s e Zd ZdS )r N)�__name__� __module__�__qualname__� r r �)/opt/alt/python39/lib64/python3.9/aifc.pyr � s l @Q E c C s8 zt �d| �d��d W S t jy2 td �Y n0 d S )N�>l� r ��structZunpack�read�error�EOFError��filer r r � _read_long� s r c C s8 zt �d| �d��d W S t jy2 td �Y n0 d S )N�>Lr r r r r r r �_read_ulong� s r c C s8 zt �d| �d��d W S t jy2 td �Y n0 d S )N�>h� r r r r r r �_read_short� s r c C s8 zt �d| �d��d W S t jy2 td �Y n0 d S )N�>Hr r r r r r r �_read_ushort� s r c C s@ t | �d��}|dkrd}n | �|�}|d@ dkr<| �d�}|S )N� r � )�ordr )r �length�data�dummyr r r �_read_string� s r g�����c C s� t | �}d}|dk r d}|d }t| �}t| �}|| krN| krNdkrXn nd} n0|dkrft} n"|d }|d | td |d � } || S )Nr r ���� � g � i�? l g @�? )r r � _HUGE_VAL�pow)�f�expon�sign�himant�lomantr r r �_read_float� s "r, c C s | � t�d|�� d S )Nr ��writer �pack�r'