Your IP : 3.144.109.147
a
R�f# � @ s� d dl Z d dlZd dlmZ ddd�Zddd �ZG d
d� de j�ZG dd
� d
e j�ZG dd� de j�ZG dd� dee j �Z G dd� dee j
�Z
dd� ZdS )� N)�BytesIO�strict�<data>� c C s� t | �}t � }|j}|j}|�dd�}|�dd�}|d|d@ |f �d�� |d�}|rp|t�|�� |d�}qT|d � |�� t| �fS )
N�
z\n�
z\rzbegin %o %s
i� �ascii�- s
end
) r �read�write�replace�encode�binasciiZb2a_uu�getvalue�len) �input�errors�filename�mode�infile�outfiler
r �chunk� r �7/opt/alt/python39/lib64/python3.9/encodings/uu_codec.py� uu_encode s
r c
C s� t | �}t � }|j}|j}|� }|s,td��|d d� dkrq@q|� }|r�|dkrTq�zt�|�}W nT tjy� } z:|d d d@ d d d } t�|d | � �}W Y d }~n
d }~0 0 ||� q@|s�td
��|�� t| �fS )Nz"Missing "begin" line in input data� s begins end
r � �? � � zTruncated input data) r �readliner �
ValueErrorr Za2b_uu�Errorr r )
r r r r r r �s�data�v�nbytesr r r � uu_decode% s* (
r'