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: //opt/alt/python36/lib64/python3.6/encodings/__pycache__/bz2_codec.cpython-36.pyc
3

� f��@s�dZddlZddlZddd�Zddd�ZGdd	�d	ej�ZGd
d�dej�ZGdd
�d
ej�ZGdd�deej�ZGdd�deej	�Z	dd�Z
dS)aPython 'bz2_codec' Codec - bz2 compression encoding.

This codec de/encodes from bytes to bytes and is therefore usable with
bytes.transform() and bytes.untransform().

Adapted by Raymond Hettinger from zlib_codec.py which was written
by Marc-Andre Lemburg ([email protected]).
�N�strictcCs|dkst�tj|�t|�fS)Nr)�AssertionError�bz2�compress�len)�input�errors�r	�8/opt/alt/python36/lib64/python3.6/encodings/bz2_codec.py�
bz2_encodesrcCs|dkst�tj|�t|�fS)Nr)rr�
decompressr)rrr	r	r
�
bz2_decodesr
c@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S)N)r)�selfrrr	r	r
�encodeszCodec.encodecCs
t||�S)N)r
)rrrr	r	r
�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrr	r	r	r
rs
rc@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalEncoderrcCs |dkst�||_tj�|_dS)Nr)rrr�
BZ2Compressor�compressobj)rrr	r	r
�__init__szIncrementalEncoder.__init__FcCs.|r|jj|�}||jj�S|jj|�SdS)N)rr�flush)rr�final�cr	r	r
r#szIncrementalEncoder.encodecCstj�|_dS)N)rrr)rr	r	r
�reset*szIncrementalEncoder.resetN)r)F)rrrrrrr	r	r	r
rs

rc@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalDecoderrcCs |dkst�||_tj�|_dS)Nr)rrr�BZ2Decompressor�
decompressobj)rrr	r	r
r.szIncrementalDecoder.__init__FcCs&y|jj|�Stk
r dSXdS)N�)rr�EOFError)rrrr	r	r
r3szIncrementalDecoder.decodecCstj�|_dS)N)rrr)rr	r	r
r9szIncrementalDecoder.resetN)r)F)rrrrrrr	r	r	r
r-s

rc@seZdZeZdS)�StreamWriterN)rrr�bytes�charbuffertyper	r	r	r
r"<sr"c@seZdZeZdS)�StreamReaderN)rrrr#r$r	r	r	r
r%?sr%c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforr
rrr"r%r	r	r	r
�getregentryDsr.)r)r)�__doc__r,rrr
rrrr"r%r.r	r	r	r
�<module>s