HEX
Server: Apache
System: Linux hn220.greenhost.nl 6.12.58 #3 SMP Wed Nov 19 09:04:59 UTC 2025 x86_64
User: webmaster (87278)
PHP: 8.4.5
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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //.vs/usr/lib/python3.9/encodings/__pycache__/uu_codec.cpython-39.pyc
a

kx�g#�@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J�t|�}t�}|j}|j}|�dd�}|�dd�}|d|d@|f�d��|d	�}|r||t�|��|d	�}q`|d
�|��t|�fS)Nr�
z\n�
z\rzbegin %o %s
i��ascii�-s 
end
)	r�read�write�replace�encode�binasciiZb2a_uu�getvalue�len)	�input�errors�filename�mode�infile�outfiler
r�chunk�r�(/usr/lib/python3.9/encodings/uu_codec.py�	uu_encodes
rc

Cs�|dksJ�t|�}t�}|j}|j}|�}|s8td��|dd�dkr&qLq&|�}|r�|dkr`q�zt�|�}WnTtjy�}z:|ddd@d	dd
}	t�|d|	��}WYd}~n
d}~00||�qL|s�td��|��t|�fS)Nrz"Missing "begin" line in input data�sbeginsend
r� �?��zTruncated input data)	r�readliner�
ValueErrorrZa2b_uu�Errorrr)
rrrrr r�s�data�v�nbytesrrr�	uu_decode%s,(
r'c@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S�N)r��selfrrrrrr
GszCodec.encodecCs
t||�Sr))r'r*rrr�decodeJszCodec.decodeN)r)r)�__name__�
__module__�__qualname__r
r,rrrrr(Fs
r(c@seZdZddd�ZdS)�IncrementalEncoderFcCst||j�dS�Nr)rr�r+r�finalrrrr
NszIncrementalEncoder.encodeN)F)r-r.r/r
rrrrr0Msr0c@seZdZddd�ZdS)�IncrementalDecoderFcCst||j�dSr1)r'rr2rrrr,RszIncrementalDecoder.decodeN)F)r-r.r/r,rrrrr4Qsr4c@seZdZeZdS)�StreamWriterN�r-r.r/�bytes�charbuffertyperrrrr5Usr5c@seZdZeZdS)�StreamReaderNr6rrrrr9Xsr9c
Cstjdttttttdd�S)N�uuF)�namer
r,�incrementalencoder�incrementaldecoder�streamreader�streamwriter�_is_text_encoding)�codecs�	CodecInforr'r0r4r9r5rrrr�getregentry]s�rC)rrr)r)
�__doc__rAr�iorrr'r(r0r4r5r9rCrrrr�<module>s	

!