AlkantarClanX12

Your IP : 3.149.243.86


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

�

c��f�����dZddlZddlZdd�Zdd�ZGd�dej��ZGd�d	ej��ZGd
�dej��ZGd�d
eej��ZGd�deej	��Z	d�Z
dS)z�Python 'zlib_codec' Codec - zlib compression encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com).
�N�strictc�X�|dksJ�tj|��t|��fS�Nr)�zlib�compress�len��input�errorss  �;/opt/alt/python311/lib64/python3.11/encodings/zlib_codec.py�zlib_encoder

s.���X������M�%� � �#�e�*�*�-�-�c�X�|dksJ�tj|��t|��fSr)r�
decompressrr	s  r�zlib_decoders.���X������O�E�"�"�C��J�J�/�/rc��eZdZdd�Zdd�ZdS)�Codecrc�"�t||��S�N)r
��selfr
rs   r�encodezCodec.encode����5�&�)�)�)rc�"�t||��Sr)rrs   r�decodezCodec.decoderrN�r)�__name__�
__module__�__qualname__rr�rrrrs<������*�*�*�*�*�*�*�*�*�*rrc�$�eZdZdd�Zdd�Zd�ZdS)	�IncrementalEncoderrc�T�|dksJ�||_tj��|_dSr)rr�compressobj�rrs  r�__init__zIncrementalEncoder.__init__s1����!�!�!�!�����+�-�-����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$�rs r�resetzIncrementalEncoder.reset(s���+�-�-����rNr�F)rrrr&rr.r rrr"r"sK������.�.�.�.�
4�4�4�4�.�.�.�.�.rr"c�$�eZdZdd�Zdd�Zd�ZdS)	�IncrementalDecoderrc�T�|dksJ�||_tj��|_dSr)rr�
decompressobjr%s  rr&zIncrementalDecoder.__init__,s1����!�!�!�!����!�/�1�1����rFc��|r6|j�|��}||j���zS|j�|��Sr)r3rr(r)s    rrzIncrementalDecoder.decode1sQ���	8��"�-�-�e�4�4�A��t�)�/�/�1�1�1�1��%�0�0��7�7�7rc�6�tj��|_dSr)rr3r-s rr.zIncrementalDecoder.reset8s��!�/�1�1����rNrr/)rrrr&rr.r rrr1r1+sK������2�2�2�2�
8�8�8�8�2�2�2�2�2rr1c��eZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyper rrr7r7;��������N�N�Nrr7c��eZdZeZdS)�StreamReaderNr8r rrr=r=>r;rr=c
�v�tjdtttt
ttd���S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamreader�streamwriter�_is_text_encoding)�codecs�	CodecInfor
rr"r1r=r7r rr�getregentryrGCs4����
���-�-�!�!��	�	�	�	rr)�__doc__rErr
rrr"r1r7r=rGr rr�<module>rIsH�����
�
�
�����.�.�.�.�0�0�0�0�*�*�*�*�*�F�L�*�*�*�.�.�.�.�.��2�.�.�.� 2�2�2�2�2��2�2�2�2� �����5�&�-���������5�&�-����

�
�
�
�
r