AlkantarClanX12
Current Path : /opt/alt/python37/lib64/python3.7/__pycache__/ |
Current File : //opt/alt/python37/lib64/python3.7/__pycache__/binhex.cpython-37.opt-1.pyc |
B � f�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 �+/opt/alt/python37/lib64/python3.7/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 d 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&