Your IP : 18.118.24.176


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

U

i�f��@s�ddlZddlZddd�Zddd�ZGdd�dej�ZGd	d
�d
ej�ZGdd�dej�ZGd
d�deej�ZGdd�deej�Zdd�Z	dS)�N�strictcCst�|�t|�fS�N)�bz2�compress�len��input�errors�r
�8/opt/alt/python38/lib64/python3.8/encodings/bz2_codec.py�
bz2_encodesrcCst�|�t|�fSr)r�
decompressrrr
r
r�
bz2_decodesrc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�Sr)r��selfrr	r
r
r�encodeszCodec.encodecCs
t||�Sr)rrr
r
r�decodeszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrr
r
r
rrs
rc@s(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalEncoderrcCs||_t��|_dSr)r	r�
BZ2Compressor�compressobj�rr	r
r
r�__init__szIncrementalEncoder.__init__FcCs.|r|j�|�}||j��S|j�|�SdSr)rr�flush)rr�final�cr
r
rr#szIncrementalEncoder.encodecCst��|_dSr)rrr�rr
r
r�reset*szIncrementalEncoder.resetN)r)F)rrrrrr r
r
r
rrs

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

r!c@seZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyper
r
r
rr&<sr&c@seZdZeZdS)�StreamReaderNr'r
r
r
rr*?sr*c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrrr!r&r*r
r
r
r�getregentryDs�r3)r)r)
r1rrrrrr!r&r*r3r
r
r
r�<module>
s



?>