Your IP : 3.144.224.105
U
e5d�6 � @ s� d Z ddlZddlZddlZddlZdddgZG dd� de�ZdZdZ dZ
d Zd
ZG dd� d�Z
d
d� ZG dd� d�ZG dd� d�ZG dd� d�ZG dd� d�Zdd� ZG dd� d�ZG dd� d�ZG dd� d�Zdd� ZdS )z�Macintosh binhex compression/decompression.
easy interface:
binhex(inputfilename, outputfilename)
hexbin(inputfilename, outputfilename)
� N�binhex�hexbin�Errorc @ s e Zd ZdS )r N)�__name__�
__module__�__qualname__� r r �/usr/lib64/python3.8/binhex.pyr s � i � �@ � �c @ s e Zd Zdd� ZdS )�FInfoc C s d| _ d| _d| _d S )Nz????r )�Type�Creator�Flags��selfr r r �__init__0 s zFInfo.__init__N)r r r r r r r r r
/ s r
c C st t � }t�| d��2}|�d�}d|kr,d|_|�dd� |�� }W 5 Q R X tj� | �\}}|�
ddd�}|||dfS ) N�rbi r ZTEXT� �:�-r
)r
�io�open�readr �seek�tell�os�path�split�replace)�name�finfo�fp�dataZdsize�dir�filer r r �getfileinfo5 s
r'