Your IP : 3.149.254.229


Current Path : /opt/alt/python312/lib64/python3.12/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/encodings/__pycache__/zlib_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)�zlib�compress�len��input�errorss  �;/opt/alt/python312/lib64/python3.12/encodings/zlib_codec.py�zlib_encoder
s���M�M�%� �#�e�*�-�-�c�B�tj|�t|�fSr)r�
decompressrrs  r�zlib_decoders���O�O�E�"�C��J�/�/r
c��eZdZdd�Zdd�Zy)�Codecc��t||�Sr)r��selfr	r
s   r�encodezCodec.encode����5�&�)�)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�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#�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�
decompressobjr$s  rr%zIncrementalDecoder.__init__,s�����!�/�/�1��r
c��|r8|jj|�}||jj�zS|jj|�Sr)r2rr'r(s    rrzIncrementalDecoder.decode1sL����"�"�-�-�e�4�A��t�)�)�/�/�1�1�1��%�%�0�0��7�7r
c�6�tj�|_yr)rr2r,s rr-zIncrementalDecoder.reset8s��!�/�/�1��r
Nrr.)rrrr%rr-rr
rr0r0+s��2�
8�2r
r0c��eZdZeZy)�StreamWriterN�rrr�bytes�charbuffertyperr
rr6r6;����Nr
r6c��eZdZeZy)�StreamReaderNr7rr
rr<r<>r:r
r<c
�l�tjdtttt
ttd��S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamreader�streamwriter�_is_text_encoding)�codecs�	CodecInforrr!r0r<r6rr
r�getregentryrFCs-�����
���-�-�!�!��	�	r
r)
rDrrrrr!r0r6r<rFrr
r�<module>rGs}�����.�0�*�F�L�L�*�.��2�2�.� 2��2�2�2� �5�&�-�-���5�&�-�-��

r

?>