Hacked By AnonymousFox
��Yf�6 � @ s9 d Z d d l Z d d l Z d d l Z d d l Z d d d g Z Gd d � d e � Z d Z d Z d Z
d Z d
Z Gd d � d � Z
d
d � Z Gd d � d � Z Gd d � d � Z Gd d � d � Z Gd d � d � Z d d � Z Gd d � d � Z Gd d � d � Z Gd d � d � Z d d � Z d S)z�Macintosh binhex compression/decompression.
easy interface:
binhex(inputfilename, outputfilename)
hexbin(inputfilename, outputfilename)
� N�binhex�hexbin�Errorc @ s e Z d Z d S)r N)�__name__�
__module__�__qualname__� r r �+/opt/alt/python35/lib64/python3.5/binhex.pyr s � i � �@ s �c @ s e Z d Z d d � Z d S)�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 s� t � } t j | d � �G } | j d � } d | k rB d | _ | j d d � | j � } Wd QRXt j j | � \ } } | j
d d d � } | | | d f S) 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% c @ s@ e Z d Z d d � Z d d � Z d d � Z d d � Z d S)
�openrsrcc G s d S)Nr )r �argsr r r r C s zopenrsrc.__init__c G s d S)N� r )r r'