Your IP : 3.145.92.213


Current Path : /opt/alt/python311/lib64/python3.11/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/encodings/__pycache__/bz2_codec.cpython-311.opt-2.pyc

�

c��f�����	ddlZddlZdd�Zdd�ZGd�dej��ZGd�dej��ZGd	�d
ej��ZGd�deej��ZGd
�deej��Zd�Z	dS)�N�strictc�H�tj|��t|��fS�N)�bz2�compress�len��input�errorss  �:/opt/alt/python311/lib64/python3.11/encodings/bz2_codec.py�
bz2_encoder
s���L�����U���,�,�c�H�tj|��t|��fSr)r�
decompressrr	s  r�
bz2_decoders���N�5�!�!�3�u�:�:�.�.rc��eZdZdd�Zdd�ZdS)�Codecrc�"�t||��Sr)r
��selfr
rs   r�encodezCodec.encode����%��(�(�(rc�"�t||��Sr)rrs   r�decodezCodec.decoderrN�r)�__name__�
__module__�__qualname__rr�rrrrs<������)�)�)�)�)�)�)�)�)�)rrc�$�eZdZdd�Zdd�Zd�ZdS)	�IncrementalEncoderrc�D�||_tj��|_dSr)rr�
BZ2Compressor�compressobj�rrs  r�__init__zIncrementalEncoder.__init__s ������,�.�.����rFc��|r6|j�|��}||j���zS|j�|��Sr)r$r�flush)rr
�final�cs    rrzIncrementalEncoder.encode#sQ���	4�� �)�)�%�0�0�A��t�'�-�-�/�/�/�/��#�,�,�U�3�3�3rc�6�tj��|_dSr)rr#r$�rs r�resetzIncrementalEncoder.reset*s���,�.�.����rNr�F)rrrr&rr-rrrr!r!sK������/�/�/�/�
4�4�4�4�/�/�/�/�/rr!c�$�eZdZdd�Zdd�Zd�ZdS)	�IncrementalDecoderrc�D�||_tj��|_dSr)rr�BZ2Decompressor�
decompressobjr%s  rr&zIncrementalDecoder.__init__.s ����� �0�2�2����rFc�Z�	|j�|��S#t$rYdSwxYw)N�)r3r�EOFError)rr
r)s   rrzIncrementalDecoder.decode3s@��	��%�0�0��7�7�7���	�	�	��2�2�	���s��
*�*c�6�tj��|_dSr)rr2r3r,s rr-zIncrementalDecoder.reset9s�� �0�2�2����rNrr.)rrrr&rr-rrrr0r0-sK������3�3�3�3�
����3�3�3�3�3rr0c��eZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrr9r9<��������N�N�Nrr9c��eZdZeZdS)�StreamReaderNr:rrrr?r??r=rr?c
�v�tjdtttt
ttd���S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rr!r0r9r?rrr�getregentryrIDs4����
���-�-�!�!��	�	�	�	rr)
rGrr
rrr!r0r9r?rIrrr�<module>rJsC����
�
�
�
�
�
�
�-�-�-�-�/�/�/�/�)�)�)�)�)�F�L�)�)�)�/�/�/�/�/��2�/�/�/� 
3�
3�
3�
3�
3��2�
3�
3�
3������5�&�-���������5�&�-����

�
�
�
�
r

?>