HEX
Server: Apache/2.4.62 (Debian)
System: Linux MIA-VPS-VM01781 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User: webmaster (1001)
PHP: 8.2.29
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //lib/python3.7/encodings/__pycache__/uu_codec.cpython-37.pyc
B

U��e�
�@s�dZddlZddlZddlmZddd�Zdd	d
�ZGdd�dej�ZGd
d�dej�ZGdd�dej	�Z	Gdd�deej
�Z
Gdd�deej�Zdd�ZdS)aPython 'uu_codec' Codec - UU content transfer encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were
adapted from uu.py which was written by Lance Ellinghouse and
modified by Jack Jansen and Fredrik Lundh.
�N)�BytesIO�strict�<data>�c	Cs�|dkst�t|�}t�}|j}|j}|d|d@|f�d��|d�}x|rf|t�|��|d�}qJW|d�|��t|�fS)Nrzbegin %o %s
i��ascii�-s 
end
)	�AssertionErrorr�read�write�encode�binasciiZb2a_uu�getvalue�len)	�input�errors�filename�mode�infile�outfiler	r
�chunk�r�(/usr/lib/python3.7/encodings/uu_codec.py�	uu_encodesrc

Cs�|dkst�t|�}t�}|j}|j}x(|�}|s:td��|dd�dkr(Pq(Wx�|�}|rd|dkrfPyt�|�}WnRtjk
r�}z2|ddd@d	dd
}	t�|d|	��}Wdd}~XYnX||�qRW|s�td��|��t	|�fS)Nrz"Missing "begin" line in input data�sbeginsend
r� �?��zTruncated input data)
rr�readliner
�
ValueErrorrZa2b_uu�Errorr
r)
rrrrrr
�s�data�v�nbytesrrr�	uu_decode!s0$r%c@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S)N)r)�selfrrrrrrCszCodec.encodecCs
t||�S)N)r%)r'rrrrr�decodeFszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rr(rrrrr&Bs
r&c@seZdZddd�ZdS)�IncrementalEncoderFcCst||j�dS)Nr)rr)r'r�finalrrrrJszIncrementalEncoder.encodeN)F)r)r*r+rrrrrr,Isr,c@seZdZddd�ZdS)�IncrementalDecoderFcCst||j�dS)Nr)r%r)r'rr-rrrr(NszIncrementalDecoder.decodeN)F)r)r*r+r(rrrrr.Msr.c@seZdZeZdS)�StreamWriterN)r)r*r+�bytes�charbuffertyperrrrr/Qsr/c@seZdZeZdS)�StreamReaderN)r)r*r+r0r1rrrrr2Tsr2c
Cstjdttttttdd�S)N�uuF)�namerr(�incrementalencoder�incrementaldecoder�streamreader�streamwriter�_is_text_encoding)�codecs�	CodecInforr%r,r.r2r/rrrr�getregentryYsr<)rrr)r)
�__doc__r:r�iorrr%r&r,r.r/r2r<rrrr�<module>s

!