Your IP : 18.188.218.140


Current Path : /opt/alt/python312/lib64/python3.12/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/encodings/__pycache__/bz2_codec.cpython-312.opt-2.pyc

�

�Q�f����	ddlZddlZdd�Zdd�ZGd�dej�ZGd�dej
�ZGd�d	ej�ZGd
�deej�ZGd�d
eej�Zd�Z	y)�Nc�B�tj|�t|�fS�N)�bz2�compress�len��input�errorss  �:/opt/alt/python312/lib64/python3.12/encodings/bz2_codec.py�
bz2_encoders���L�L����U��,�,�c�B�tj|�t|�fSr)r�
decompressrrs  r�
bz2_decoders���N�N�5�!�3�u�:�.�.r
c��eZdZdd�Zdd�Zy)�Codecc��t||�Sr)r��selfr	r
s   r�encodezCodec.encode����%��(�(r
c��t||�Sr)rrs   r�decodezCodec.decoderr
N��strict)�__name__�
__module__�__qualname__rr�r
rrrs��)�)r
rc�"�eZdZdd�Zdd�Zd�Zy)�IncrementalEncoderc�D�||_tj�|_yr)r
r�
BZ2Compressor�compressobj�rr
s  r�__init__zIncrementalEncoder.__init__s������,�,�.��r
c��|r8|jj|�}||jj�zS|jj|�Sr)r$r�flush)rr	�final�cs    rrzIncrementalEncoder.encode#sL���� � �)�)�%�0�A��t�'�'�-�-�/�/�/��#�#�,�,�U�3�3r
c�6�tj�|_yr)rr#r$�rs r�resetzIncrementalEncoder.reset*s���,�,�.��r
Nr�F)rrrr&rr-rr
rr!r!s��/�
4�/r
r!c�"�eZdZdd�Zdd�Zd�Zy)�IncrementalDecoderc�D�||_tj�|_yr)r
r�BZ2Decompressor�
decompressobjr%s  rr&zIncrementalDecoder.__init__.s����� �0�0�2��r
c�X�	|jj|�S#t$rYywxYw)N�)r3r�EOFError)rr	r)s   rrzIncrementalDecoder.decode3s0��	��%�%�0�0��7�7���	��	�s��	)�)c�6�tj�|_yr)rr2r3r,s rr-zIncrementalDecoder.reset9s�� �0�0�2��r
Nrr.)rrrr&rr-rr
rr0r0-s��3�
�3r
r0c��eZdZeZy)�StreamWriterN�rrr�bytes�charbuffertyperr
rr9r9<����Nr
r9c��eZdZeZy)�StreamReaderNr:rr
rr?r??r=r
r?c
�l�tjdtttt
ttd��S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrr!r0r9r?rr
r�getregentryrIDs-�����
���-�-�!�!��	�	r
r)
rGrrrrr!r0r9r?rIrr
r�<module>rJs}����
�-�/�)�F�L�L�)�/��2�2�/� 
3��2�2�
3��5�&�-�-���5�&�-�-��

r

?>