Your IP : 3.135.195.180


Current Path : /opt/alt/python35/lib64/python3.5/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/encodings/__pycache__/bz2_codec.cpython-35.opt-2.pyc



���]��@s�ddlZddlZddd�Zddd�ZGdd�dej�ZGd	d
�d
ej�ZGdd�dej�ZGd
d�deej�ZGdd�deej�Zdd�Z	dS)�N�strictcCstj|�t|�fS)N)�bz2�compress�len)�input�errors�r�./opt/alt/python35/lib64/python3.5/bz2_codec.py�
bz2_encodesr
cCstj|�t|�fS)N)r�
decompressr)rrrrr	�
bz2_decodesrc@s.eZdZddd�Zddd�ZdS)�CodecrcCs
t||�S)N)r
)�selfrrrrr	�encodeszCodec.encodecCs
t||�S)N)r)rrrrrr	�decodeszCodec.decodeN)�__name__�
__module__�__qualname__rrrrrr	r
sr
c@s:eZdZddd�Zddd�Zdd�Zd	S)
�IncrementalEncoderrcCs||_tj�|_dS)N)rr�
BZ2Compressor�compressobj)rrrrr	�__init__s	zIncrementalEncoder.__init__FcCs=|r)|jj|�}||jj�S|jj|�SdS)N)rr�flush)rr�final�crrr	r#szIncrementalEncoder.encodecCstj�|_dS)N)rrr)rrrr	�reset*szIncrementalEncoder.resetN)rrrrrrrrrr	rsrc@s:eZdZddd�Zddd�Zdd�Zd	S)
�IncrementalDecoderrcCs||_tj�|_dS)N)rr�BZ2Decompressor�
decompressobj)rrrrr	r.s	zIncrementalDecoder.__init__FcCs1y|jj|�SWntk
r,dSYnXdS)N�)rr�EOFError)rrrrrr	r3s
zIncrementalDecoder.decodecCstj�|_dS)N)rrr)rrrr	r9szIncrementalDecoder.resetN)rrrrrrrrrr	r-src@seZdZeZdS)�StreamWriterN)rrr�bytes�charbuffertyperrrr	r!<sr!c@seZdZeZdS)�StreamReaderN)rrrr"r#rrrr	r$?sr$cCs:tjdddtdtdtdtdtdtd	d
�S)N�namerrr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encodingF)�codecs�	CodecInfor
rrrr!r$rrrr	�getregentryDs	r-)
r+rr
rr
rrr!r$r-rrrr	�<module>
s

?>