HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //proc/self/root/opt/alt/python34/lib64/python3.4/encodings/__pycache__/uu_codec.cpython-34.pyc
�
� f�
�@s�dZddlZddlZddlmZddddd�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 ([email protected]). Some details were
adapted from uu.py which was written by Lance Ellinghouse and
modified by Jack Jansen and Fredrik Lundh.
�N)�BytesIO�strictz<data>i�c	Cs�|dkst�t|�}t�}|j}|j}|d|d@|fjd��|d�}x)|r�|tj|��|d�}qiW|d�|j�t|�fS)Nrzbegin %o %s
i��ascii�-s 
end
)	�AssertionErrorr�read�write�encode�binasciiZb2a_uu�getvalue�len)	�input�errors�filename�mode�infile�outfilerr�chunk�r�7/opt/alt/python34/lib64/python3.4/encodings/uu_codec.py�	uu_encodes			!	
rc
CsI|dkst�t|�}t�}|j}|j}x<|�}|sZtd��n|dd�dkr<Pq<q<Wx�|�}|s�|dkr�Pnytj|�}Wn_tjk
r}z<|ddd@d	dd
}	tj|d|	��}WYdd}~XnX||�q{W|s3td��n|j�t	|�fS)Nrz"Missing "begin" line in input data�sbeginsend
r� �?��zTruncated input data)
rr�readliner�
ValueErrorr
Za2b_uu�Errorrr)
r
rrrrr�s�data�v�nbytesrrr�	uu_decode!s0					,r#c@s.eZdZddd�Zddd�ZdS)�CodecrcCs
t||�S)N)r)�selfr
rrrrr	CszCodec.encodecCs
t||�S)N)r#)r%r
rrrr�decodeFszCodec.decodeN)�__name__�
__module__�__qualname__r	r&rrrrr$Bsr$c@seZdZddd�ZdS)�IncrementalEncoderFcCst||j�dS)Nr)rr)r%r
�finalrrrr	JszIncrementalEncoder.encodeN)r'r(r)r	rrrrr*Isr*c@seZdZddd�ZdS)�IncrementalDecoderFcCst||j�dS)Nr)r#r)r%r
r+rrrr&NszIncrementalDecoder.decodeN)r'r(r)r&rrrrr,Msr,c@seZdZeZdS)�StreamWriterN)r'r(r)�bytes�charbuffertyperrrrr-Qsr-c@seZdZeZdS)�StreamReaderN)r'r(r)r.r/rrrrr0Tsr0cCs:tjdddtdtdtdtdtdtd	d
�S)N�name�uur	r&�incrementalencoder�incrementaldecoder�streamreader�streamwriter�_is_text_encodingF)�codecs�	CodecInforr#r*r,r0r-rrrr�getregentryYs	r:)
�__doc__r8r
�iorrr#r$r*r,r-r0r:rrrr�<module>s!